⚲
Class:
Component
Lua
C++
Edit
Component::Collide
This method is called every time the entity collides with another object.
Syntax
void
Collide
(shared_ptr<
Entity
> collidedentity, const
Vec3
& position, const
Vec3
& normal, const float speed)
Parameter
Description
collidedentity
entity that was collided with
position
point the collision occured at
normal
direction of the collision
speed
speed of the collision
Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation