onCollisionStill
ScriptBase::onCollisionStill
Is executed during the time an Entity’s Collidable Component collides with another’s Entity’s Collidable Component.
Declaration
virtual void onCollisionStill(CollisionInfo collisionInfo);
Parameters
Name |
Type |
Description |
---|---|---|
collisionInfo |
Information about the collision. |
Returns
None.
Notes
This function is called the frame after ScriptBase’s onCollisionEnter is called if the current Entity and collisionInfo.otherEntity
are still colliding. It will be called each frame both Entities collide and will not be called anymore when they will stop colliding.