mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-26 14:55:39 +00:00
Fix for Issue #128 for Player First Person Shadow
IMPROVEMENT: By default we stop rendering all Player shadows when in first person and 'renderFirstPerson' is disabled. Added flag 'firstPersonShadows' to disable this behavior.
This commit is contained in:
parent
4290c1d985
commit
88bb577c82
2 changed files with 16 additions and 1 deletions
|
|
@ -54,6 +54,10 @@ struct PlayerData: public ShapeBaseData {
|
|||
};
|
||||
bool renderFirstPerson; ///< Render the player shape in first person
|
||||
|
||||
/// Render shadows while in first person when
|
||||
/// renderFirstPerson is disabled.
|
||||
bool firstPersonShadows;
|
||||
|
||||
StringTableEntry imageAnimPrefix; ///< Passed along to mounted images to modify
|
||||
/// animation sequences played in third person. [optional]
|
||||
bool allowImageStateAnimation; ///< When true a new thread is added to the player to allow for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue