NetworkRigidBody2D
Inherits: RigidBody2D
A rollback / state synchronizer class for RigidBody2D. Set state property path to physics_state to synchronize the state of this body.
Properties
| Type | Name | Default |
|---|---|---|
| Variant | direct_state | body_get_direct_state(...) |
| Array | physics_state |
Methods
| Return Type | Name |
|---|---|
| Array | get_state() |
| void | set_state(Array remote_state) |
Constants
ORIGIN = 0
ROT = 1
LIN_VEL = 2
ANG_VEL = 3
SLEEPING = 4
Property Descriptions
Variant direct_state = body_get_direct_state(...)
No description provided.
Array physics_state
No description provided.
Method Descriptions
Array get_state ( )
No description provided.
void set_state ( Array remote_state )
No description provided.