pmndrs / react-three-rapier

🤺 Rapier physics in React
https://react-three-rapier.pmnd.rs
MIT License
1.02k stars 57 forks source link

Presentation Controls doesn't work the same #36

Open ClayCooperLA opened 2 years ago

ClayCooperLA commented 2 years ago

Not a huge deal, can use OrbitControls, but was really liking the feel of the spring on the PresentationControls.

src/BoxFan/index.js line 78 https://codesandbox.io/s/rapier-physics-box-fan-experiment-debug-controls-z9x8zi?file=/src/BoxFan/index.js

wiledal commented 2 years ago

Ah, so I suppose PresentationControls actually wraps and rotates its children, not just the camera. I'm actually compensating for world translations and rotations while positioning RigidBodies. Up until now I've seen it as a feature, but it does not allow you to rotate the physics world.

Would you say this is high prio?

ClayCooperLA commented 2 years ago

Pretty low priority, lots of other options for controlling camera movement, PresentationControls has a really good feel though!