The scene graph EntityEnteredEvent and EntityExitedEvent do not adjust for scale applied via SetGlobalTransform, KeyFrames, or any other method.
Please select what you are reporting on:
Creative
What Type of Bug are you experiencing?
Assets
Steps to Reproduce
Setup a Verse entity component which listens to EntityEnteredEvent and EntityExitedEvent
At the start of the simulation, scale up the entity via any method including: SetGlobalTransform, SetLocalTransform, or keyframed_movement_component.
Move two entities that use this component to overlap each other.
Expected Result
The EntityEnteredEvent is fired when the entities overlap.
The EntityExitedEvent is fired when the entities stop overlapping.
Observed Result
EntityEnteredEvent and EntityExitedEvent are fired as if the entity still had it’s original scale. For example, if you have scaled down the entity, the events will trigger a a distance greater than the actual bounds of the entity.
Platform(s)
UEFN, Verse, Scene Graph, PC, Console
Additional Notes
If you call mesh_component.Disable() and then mesh_component.Enable(), the entity scales for colission will be adjusted. However, each .Enable() call retriggers an additional EntityEnteredEvent is an overlap is currently occuring. And sometimes a EntityEnteredEvent or EntityExitedEvent may be missed.