CollisionData Structure

From Garry's Mod
Revision as of 10:08, 2 August 2012 by Wizzy (Talk | contribs)
Jump to: navigation, search
Passed as argument of the PhysicsCollide event.



Type Name Description
Shared Vector

CollisionData

Default: HitPos

Shared Entity

CollisionData

Default: HitEntity

Shared Vector

CollisionData

Default: OurOldVelocity

Shared Physobj

CollisionData

Default: HitObject

Shared number

CollisionData

Default: DeltaTime

Shared Vector

CollisionData

Default: TheirOldVelocity

Shared number

CollisionData

Default: Speed

Shared Vector

CollisionData

Default: HitNormal

Personal tools
Navigation