CollisionLayer

As your physic simulation become more and more complex you will have to deal with many PhysicObject. Some will be created and destroyed dynamically, others will need to ability to only collide with a subset of existing physic objects. When using collision layers you can; not only consolidate multiple physic objects together but also create collision rules between each layers.

See Also

Static Variables


Name Description
cap Bit flag used to create collision mask and identify the CollisionLayer within the World.
data Reference to the parent World the CollisionLayer is connected to.
uid Unique id to internally identify the CollisionLayer.

Variables


Name Description
name A unique name to identify the CollisionLayer within its parent World.




NRG - API 2022.4.384543 - Fri Nov 4 2022
Copyright © 2022 nrgcore.com. All Rights Reserved. Terms of Service - Privacy Policy - EULA