Sdk/[Collision|Physics]Component2D: Set internal rigidbody userdata to the entity id

This commit is contained in:
Lynix
2018-02-17 14:22:25 +01:00
parent af75e2cc68
commit 166ecffc32
3 changed files with 5 additions and 1 deletions

View File

@@ -102,6 +102,7 @@ Nazara Development Kit:
- ⚠️ Renamed World::Update() to World::Refresh() for more clarity and to differentiate it from World::Update(elapsedTime)
- World entity ids are now reused from lowest to highest (they were previously reused in reverse order of death)
- World now has an internal profiler, allowing to measure the refresh and system update time
- CollisionComponent[2D|3D] and PhysicsComponent[2D|3D] now configures their internal RigidBody userdata to the entity ID they belong to (useful for callbacks)
# 0.4: