Drag[en]gine Script Module DragonScript
1.21
|
Locomotion type. More...
Public Attributes | |
fps | |
natural | |
vehicle | |
Locomotion type.
Dragengine.Scenery.ECBehaviorPlayerInputMove.LocomotionType.fps |
Configuration useful for FPS type games where the actor is always oriented into the direction the player is looking. This configuration typically uses an 8-direction animator representing the actor moving into any direction relative to the looking direction.
Interferes with ECBehaviorPlayerInputTurn since both behaviors modify the locomotion turning value.
Dragengine.Scenery.ECBehaviorPlayerInputMove.LocomotionType.natural |
Default locomotion working best for actors moving in a natural way. The actor moves into the direction it is looking. The body is oriented into the walking direction if the actor is moving.
Interferes with ECBehaviorPlayerInputTurn since both behaviors modify the locomotion turning value.
Dragengine.Scenery.ECBehaviorPlayerInputMove.LocomotionType.vehicle |
Configuration useful for vehicle type actors like tanks which move into the direction their body is oriented while allowing to freely look around.
Does not interfere with ECBehaviorPlayerInputTurn since this behavior does not modify the locomotion turning value.