mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
add 'on_physics_update' entity event
This commit is contained in:
parent
b60f0f0ea2
commit
6d3dac9106
6 changed files with 42 additions and 3 deletions
|
|
@ -130,6 +130,7 @@ namespace scripting {
|
|||
void on_entity_fall(const Entity& entity);
|
||||
void on_entity_save(const Entity& entity);
|
||||
void on_entities_update(int tps, int parts, int part);
|
||||
void on_entities_physics_update(int tps, int parts, int part);
|
||||
void on_entities_render(float delta);
|
||||
void on_sensor_enter(const Entity& entity, size_t index, entityid_t oid);
|
||||
void on_sensor_exit(const Entity& entity, size_t index, entityid_t oid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue