MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / setUserData

Method setUserData

src/body/Body.cpp:425–427  ·  view source on GitHub ↗

Attach user data to this body * @param userData A pointer to the user data you want to attach to the body */

Source from the content-addressed store, hash-verified

423 * @param userData A pointer to the user data you want to attach to the body
424 */
425void Body::setUserData(void* userData) {
426 mWorld.mBodyComponents.setUserData(mEntity, userData);
427}
428
429// Return the world-space coordinates of a point given the local-space coordinates of the body
430/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected