Physics
(NOTE) Cast result from performing a sweep test.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
Constructor | OtherCollider | ||
OtherObject | |||
Penetration | |||
Time | |||
WorldNormalTowardsOther | |||
WorldNormalTowardsSelf | |||
WorldPoint |
Properties
OtherCollider : collider
read-only
The other collider being hit.
var OtherCollider : Collider
OtherObject : cog
read-only
The other cog being hit.
var OtherObject : Cog
Penetration : real
read-only
The amount of overlap with this object. Will typically be zero unless the objects start in contact.
var Penetration : Real
Time : real
read-only
The time of impact that this collision first happens.
var Time : Real
WorldNormalTowardsOther : real3
read-only
The contact normal pointing from the sweeping object towards the other object.
var WorldNormalTowardsOther : Real3
WorldNormalTowardsSelf : real3
read-only
The contact normal pointing from the other object towards the sweeping object.
var WorldNormalTowardsSelf : Real3
WorldPoint : real3
read-only
The point of intersection in world-space.
var WorldPoint : Real3
Methods
SweepResult : Void
constructor
Name Type Description function SweepResult()
SweepResult : Void
constructor
Name Type Description sweepresult function SweepResult( : SweepResult)