Skip to content

KinematicCollision

Struct

Source: CollisionSystem.h

Description

Contains information about a collision involving a KinematicActor.

Properties

NameTypeDescription
colliderpixelroot32::core::Actor*The other actor involved in the collision.
normalpixelroot32::math::Vector2The collision normal vector.
positionpixelroot32::math::Vector2The position of the collision.
travelpixelroot32::math::ScalarDistance traveled before collision.
remainderpixelroot32::math::ScalarRemaining distance to travel.

Released under the MIT License.