SuperDex Physics C++ API
Loading...
Searching...
No Matches
superdex::NodeContactForce Struct Reference

Contact force applied to a specific node. More...

#include <mochi_structs.h>

Public Attributes

Real3 force = {}
 Contact force [N] applied to the node.
int index = 0
 Node index in the volumetric mesh or the mesh used for colliding samples.

Detailed Description

Contact force applied to a specific node.

Note
Available via Actor::GetNodeContactForcesWorld after registering QueryType::NodeContactForces.
See also
QueryType::NodeContactForces, Actor::RegisterQuery, Actor::GetNodeContactForcesWorld

Definition at line 484 of file mochi_structs.h.

Member Data Documentation

◆ force

Real3 superdex::NodeContactForce::force = {}

Contact force [N] applied to the node.

Definition at line 487 of file mochi_structs.h.

◆ index

int superdex::NodeContactForce::index = 0

Node index in the volumetric mesh or the mesh used for colliding samples.

Note
For shell actors, this is the physics mesh returned by Actor::GetMesh unless contact-skin contact is enabled, in which case it is the compact contact skin returned by Actor::GetSurfaceMesh.

Definition at line 485 of file mochi_structs.h.


The documentation for this struct was generated from the following files: