Cocos Creator API

1.5.x

Cocos Creator is the game engine for the future.

PhysicsRayCastResult

Module: cc
Parent Module: cc

Properties

collider PhysicsCollider

The PhysicsCollider which intersects with the raycast

point Vec2

The intersection point

normal Vec2

The normal vector at the point of intersection

fraction Number

The fraction of the raycast path at the point of intersection

There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index