You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was created in the GarageGames Repository (Link to original issue).
The issue was originally created by @lornemcintosh and had a total of 2 comments that may contain additional information. The original issue description is pasted below:
I've been relying (for better or worse) on the fact that SceneContainer::castRay() used to return true, and set rayInfo.t = 0 (as if it hit something immediately) when ray-casting from inside a .dif interior to some point outside.
In T3D 3.0 interiors are history, and I've noticed that castRay() has totally different behavior for TSStatics. It returns differently based on the TSStatic collisionType:
Collision Mesh = returns false, regardless of type (Box, Capsule, Convex, Mesh etc.)
None = returns false (obviously)
Visible Mesh = returns false
Terrain has yet a third behavior. castRay() returns true and sets rayInfo.t as if the ray collided with the backside of the terrain on its way out (ex. 0.6189).
So... which should it be? Can we get consistent behavior across all types? What's the correct way to test a point for inside / outside collision geometry?
The text was updated successfully, but these errors were encountered:
This issue was created in the GarageGames Repository (Link to original issue).
The issue was originally created by @lornemcintosh and had a total of 2 comments that may contain additional information. The original issue description is pasted below:
I've been relying (for better or worse) on the fact that SceneContainer::castRay() used to return true, and set rayInfo.t = 0 (as if it hit something immediately) when ray-casting from inside a .dif interior to some point outside.
In T3D 3.0 interiors are history, and I've noticed that castRay() has totally different behavior for TSStatics. It returns differently based on the TSStatic collisionType:
Terrain has yet a third behavior. castRay() returns true and sets rayInfo.t as if the ray collided with the backside of the terrain on its way out (ex. 0.6189).
So... which should it be? Can we get consistent behavior across all types? What's the correct way to test a point for inside / outside collision geometry?
The text was updated successfully, but these errors were encountered: