⛓️ Cable
A Cable represents a Physics Constraint which joins two Actors with a rope-like visual representation between them.
nanos world Cables are composed primarily of two Unreal Engine components: a Cable and a PhysicsConstraint. The first is used for visual purposes only and the second one gives the effective physical effects that are applied to each end of the Cable.
Cable visuals can be tweaked with :SetForces()
, :SetCableSettings()
and :SetRenderingSettings()
methods. Those methods don’t have effect on the physics being applied and only have effects on the visual representation.
Cable physics can be tweaked with :SetAngularLimits()
and :SetLinearLimits()
.
After attaching the two sides of your cable, the physics can be tweaked to affect how the constraint will affect the objects.
Cables are automatically destroyed when one of the sides are detached