SphereSoftBody class

Simple vehicle helper class with spherical rigid body wheels.

Inheritance

Constructors

SphereSoftBody.new({required double radius, double mass = 1, double stiffness = 100, int numOfParticles = 12})

Properties

constraints List<Constraint>
The constraints.
getter/setter pairinherited
coordinateSystem ↔ Vector3
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
mass double
total mass of the body
getter/setter pairinherited
particleBodies Map<String, Body>
The bodies of the wheels.
getter/setter pairinherited
radius double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape ShapeType
shape of the body
getter/setter pairinherited
stiffness double
getter/setter pairinherited

Methods

addToWorld(World world) → void
Add the vehicle including its constraints to the world.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeFromWorld(World world) → void
Remove the vehicle including its constraints from the world.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited