support collisions & restructure transforms to only update once per frame
This commit is contained in:
@@ -536,4 +536,8 @@ extern "C"
|
||||
{
|
||||
free(ptr);
|
||||
}
|
||||
|
||||
FLUTTER_PLUGIN_EXPORT void add_collision_component(void *const assetManager, EntityId entityId) {
|
||||
((AssetManager*)assetManager)->addCollisionComponent(entityId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user