Steam VR Template

I realized after I made that video that it looks bad because of setting the simulating state for every hit event, it will continue flipping the boolean over and over until contact is lost so it looks like it is unreliable as the end result of simulating or not is random…oops. Just setting them once to simulate and then interacting with them has no actual issues currently, I just need to think if anything else should be or if it is good as is.

If it leave it as is it would be up to the user to determine what happens when contact happens, I guess I could set some sort of “OnHitStart” and “OnHitEnd” Events that detect when it is no longer colliding for a frame and fire the end event? I would assume that would be more useful than a frame by frame hit notice.

Also with physics substepping and a custom physics handle where I removed interpolation for the movement I might be able to get the physics handle to perform as required as well, I’ll check tonight, the downside is that substepping has a performance impact.