Physics
(NOTE) Filter for casting operations in physics. Allows basic filtering such as static or dynamic objects, advanced filters such as collision groups, and custom filters via an event callback.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
Constructor | CallbackEventName | basecastfilter | |
CallbackObject | |||
CollisionGroup | |||
IgnoreCog |
Properties
CallbackEventName : string
The name of the event to invoke on the callback object.
var CallbackEventName : String
CallbackObject : Object
An object to invoke a callback on (via the callback name) to see if an object in a cast should be skipped.
var CallbackObject : Object
CollisionGroup : collisiongroup
Should this cast behave like it belongs to a collision group? Uses the current space's CollisionTable for filtering logic.
var CollisionGroup : CollisionGroup
IgnoreCog : cog
A cog to ignore during casts.
var IgnoreCog : Cog
Methods
CastFilter : Void
constructor
Name Type Description function CastFilter()
CastFilter : Void
constructor
Name Type Description castfilter function CastFilter( : CastFilter)