Thruster | CraytaKit
Skip to main content



Function NameReturn TypeDescriptionTags
SetForce(Vector force)NoneSet the Force of the thruster, either in world space or relative space depending on the type of thrusterNone
SetTorque(Rotation rotation)NoneSet the torque, or rotation force, of the thrusterNone
SetPosition(Vector position)NoneSet the position of the thruster. A force that is not applied at the center of mass will also apply some torqueNone
SetAutoDestroy(number lifeTime)NoneWhen set the thruster will be destroyed after the lifetime is upNone
SetIgnoreMass(boolean ignoreMass)NoneWhen true this will turn the force or torque in to accelerational changes, ignoring the mass of the objectNone


© 2021 CraytaKit