functions Methods 29

Body (body, to)
PhysicsTraceBuilder
Casts a PhysicsBody from its current position and rotation to desired end point.
Box (extents, from, to)
PhysicsTraceBuilder
Casts a box from point A to point B.
Capsule (capsule)
PhysicsTraceBuilder
Casts a capsule
Cone (height, baseRadius)
PhysicsTraceBuilder
Casts a cone (base at bottom, apex at top).
Cylinder (height, radius)
PhysicsTraceBuilder
Casts a cylinder
FromTo (from, to)
PhysicsTraceBuilder
Sets the start and end positions of the trace request
HitTriggers ()
PhysicsTraceBuilder
Include triggers in the trace
HitTriggersOnly ()
PhysicsTraceBuilder
Only hit triggers
IgnoreDynamic ()
PhysicsTraceBuilder
Ignore dynamic objects in the trace
IgnoreKeyframed ()
PhysicsTraceBuilder
Ignore keyframed objects in the trace
IgnoreStatic ()
PhysicsTraceBuilder
Ignore static objects in the trace
Radius (radius)
PhysicsTraceBuilder
Makes this trace a sphere of given radius.
Ray (from, to)
PhysicsTraceBuilder
Casts a ray from point A to point B.
Rotated (rotation)
PhysicsTraceBuilder
Sets the start rotation of the trace request
Run ()
PhysicsTraceResult
Run the trace and return the result. The result will return the first hit.
RunAgainstBBox (box, transform)
PhysicsTraceResult
Traces only against the given bounding box at the specified transform.
RunAgainstCapsule (capsule, transform)
PhysicsTraceResult
Traces only against the given capsule at the specified transform.
RunAgainstSphere (sphere, transform)
PhysicsTraceResult
Traces only against the given sphere at the specified transform.
RunAll ()
PhysicsTraceResult[]
Run the trace and return all hits as a result.
Size (hull)
PhysicsTraceBuilder
Makes this trace an axis aligned box of given size. Extracts mins and maxs from the Bounding Box.
Sphere (radius, from, to)
PhysicsTraceBuilder
Casts a sphere from point A to point B.
Sweep (body, from, to)
PhysicsTraceBuilder
Sweeps each PhysicsShape of given PhysicsBody and returns the closest collision. Does not support Mesh PhysicsShapes. Basically 'hull traces' but with physics shapes. Same as tracing a body but allows rotation to change during the sweep.
UseHitPosition (enabled)
PhysicsTraceBuilder
Compute hit position.
WithAllTags (tags)
PhysicsTraceBuilder
Only return with all of these tags
WithAnyTags (tags)
PhysicsTraceBuilder
Only return entities with any of these tags
WithCollisionRules (tag, asTrigger)
PhysicsTraceBuilder
Use the collision rules of the given tag.
WithoutTag (tag)
PhysicsTraceBuilder
Only return without this tag
WithoutTags (tags)
PhysicsTraceBuilder
Only return without any of these tags
WithTag (ident)
PhysicsTraceBuilder
Only return entities with this tag. Subsequent calls to this will add multiple requirements and they'll all have to be met (ie, the entity will need all tags).
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.