The mesh body is a volume-enclosing object of mesh surfaces.
Definition tfBody.h:59
FVector3 force(const Body *source, const Vertex *target) override
Calculate the force that a source object exerts on a target object.
FloatP_t energy(const Body *source, const Vertex *target) override
Calculate the energy of a source object acting on a target object.
static BodyForce * fromString(const std::string &str)
Create from a JSON string representation.
virtual std::string name() const override
Definition tfBodyForce.h:49
static std::string actorName()
Definition tfBodyForce.h:52
FVector3 comps
Definition tfBodyForce.h:42