ColliderInfo Class

Module: cc

Collider Info.

Index

Properties
  • preAabb Rect Collider aabb information of last frame
  • aabb Rect Collider aabb information of current frame
  • matrix Mat4 Collider matrix
  • radius Number Collider radius (for CircleCollider)
  • position Vec2 Collider position (for CircleCollider)
  • points Vec2[] Collider points (for BoxCollider and PolygonCollider)

Details

Properties

preAabb

Collider aabb information of last frame

meta description
Type Rect
Defined in cocos2d/core/collider/CCCollisionManager.js:71
aabb

Collider aabb information of current frame

meta description
Type Rect
Defined in cocos2d/core/collider/CCCollisionManager.js:78
matrix

Collider matrix

meta description
Type Mat4
Defined in cocos2d/core/collider/CCCollisionManager.js:85
radius

Collider radius (for CircleCollider)

meta description
Type Number
Defined in cocos2d/core/collider/CCCollisionManager.js:92
position

Collider position (for CircleCollider)

meta description
Type Vec2
Defined in cocos2d/core/collider/CCCollisionManager.js:99
points

Collider points (for BoxCollider and PolygonCollider)

meta description
Type Vec2[]
Defined in cocos2d/core/collider/CCCollisionManager.js:106

results matching ""

    No results matching ""