Documentation: TelekinesisComponent
Jump to navigation
Jump to search
Name | Type | Initial Value | Example Range | Description |
---|---|---|---|---|
Members | ||||
min_size | uint32 | 7 | Minimum size of physics body that can be grabbed, in cells/pixels | |
max_size | uint32 | 1500 | Maximum size of physics body that can be grabbed, in cells/pixels | |
radius | float | 250 | [0, 300] | Maximum object search distance |
throw_speed | float | 25 | [0, 300] | Affects object speed when it is thrown |
target_distance | float | 6 | [0, 30] | Affects how far objects float from owner when held. Object size will also affect the floating distance. |
kick_to_use | bool | true | If 1, telekinesis interaction will occur when kick input is detected in root entity's ControlsComponent | |
mState | int32 | 0 | ||
mBodyID | uint64 | 0 | ||
mStartBodyMaxExtent | float | 0 | ||
mStartAimAngle | float | 0 | ||
mStartBodyAngle | float | 0 | ||
mStartBodyDistance | float | 0 | ||
mStartTime | float | 0 | ||
mMinBodyDistance | float | 3.40282e+038 | ||
mInteract | bool | false | If set to true, telekinesis interaction will occur. Will automatically turn to false at the end of component update. |