-
-
Notifications
You must be signed in to change notification settings - Fork 324
Closed
Description
Say you want to simulate a lens, so you shoot a ball into a region, you don't want to reflect it off the surface, but rather, refract it.
I tried to do this using PhysicsHooks::modify_solver_contacts, but I couldn't work it out.
The other approach would be to have the lens work as a sensor, then just manually set the velocities of colliders entering it.
Is there a correct way here?
Metadata
Metadata
Assignees
Labels
No labels