Anisotropic Beams

Anisotropic beams are beam which have different properties depending if they are being compressed or expanded beyond their spawned length. Their main purpose in the current game is for tire’s sidewalls, which need to be allowed to compress to absorb bumps, but not expand beyond their initial length under centrifugal forces.

Those beams can also be used for other structures like ropes.

The transitionZone property can be used to fine tune the behavior of the beam under expansion, with a ramp between the standard compression values, and the expansion values.

Required arguments

See the beams page .

The standard spring and damp arguments will be used when the beam is compressed.

Optional arguments

number
type
beamSpring
default
Rigidity of the beam when expanded beyond spawned length (N/m).
number
type
beamDamp
default
Rigidity of the beam when expanded beyond spawned length (N/m).
number
type
FLT-MAX
default
When this bound is exceeded, the beam automatically breaks.
0.0 would mean the beam breaks if it expands at all. 0.5 would mean the beam breaks after expanding to 150% of its spawned length. 1.0 would mean the beam breaks after expanding to 200% of its spawned length.
number
type
0
default
This defines a range where the spring and damp move to springExpansion and dampExpansion.
By default, the beam properties change instantly beyond spawned length, but adding a transitionZone causes the values to ramp up over a zone. 0.1 would create a zone of 10% of beam spawned length.

Anisotropic beams also support the same optional arguments as standard beams .

Last modified: 9/3/2022 07:10

Any further questions?

Join our discord