|
ActionDirector
1.0.0
The action director's cut for rapid actions integration
|
Move a rigid body object to a transform object. More...
Public Member Functions | |
| override void | Run () |
| override void | StaticStep (float delta) |
Public Member Functions inherited from ActionDirector.ActionDuration | |
| override void | Step (float delta) |
| override void | Run () |
Public Attributes | |
| Rigidbody | body = null |
| Rigidbody2D | body2d = null |
| bool | is2d |
| Transform | transformToReach |
| Transform | transformBezierObject |
Public Attributes inherited from ActionDirector.ActionDuration | |
| float | duration = 0.0f |
| Ease | ease = new Ease() |
Move a rigid body object to a transform object.
This action will move a rigid body object to a transform object for the time of the action. Use this action instead of the MoveToObject if you are using physic. The bezier object affect the path to create curves in the direction movement.
| Rigidbody ActionDirector.ActionMoveBodyToObject.body = null |
The 3d ridigbody to move
| Rigidbody2D ActionDirector.ActionMoveBodyToObject.body2d = null |
The 2d ridigbody to move
| bool ActionDirector.ActionMoveBodyToObject.is2d |
Are we using 2d or 3d physic
| Transform ActionDirector.ActionMoveBodyToObject.transformBezierObject |
Choose a transform object that will influence the path of the object. (This is optional)
| Transform ActionDirector.ActionMoveBodyToObject.transformToReach |
The transform object to reach