NudgeManager

represents a manager for bodies in a NudgeRealm

Members

Classes

ColliderRefs
class ColliderRefs

holds the list of indices that point to colliders owned by a certain body

Functions

allocate
void allocate()

allocate resources to run physics

destroy
void destroy()
Undocumented in source. Be warned that the author may not have intended to support it.
refresh
void refresh(NudgeBody body_comp)

used to sync a body's properties with the physics system when they change

register
void register(NudgeBody body_comp)

registers a body

unregister
void unregister(NudgeBody body_comp)

unregisters a body

update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

body_count
size_t body_count [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

get_current
NudgeManager get_current(Scene scene)

get the nudge manager in a scene

install
void install(Scene scene)

enable a nudge manager in a scene

is_installed
bool is_installed(Scene scene)

checks whether this scene has a nudge manager installed

Inherited Members

From Manager

update
void update()

updates this manager

destroy
void destroy()

frees resources used by this manager

Meta