pmndrs / react-three-jolt

⚡ Jolt physics in React
https://react-three-jolt.pmnd.rs/
MIT License
79 stars 4 forks source link

Allow movement of Static Bodies #61

Open DennisSmolek opened 2 months ago

DennisSmolek commented 2 months ago

Right now when you create a static body it takes the three object you pass and whatever position data you add to generate the Jolt Body.

Because this is on a frame by frame basis we naturally don't loop static bodies.

However, this means these bodies cant' be updated after the fact.

Or I think they can be updated, however the threeJS object will never get the new data.

We'll have to try it.

DennisSmolek commented 2 weeks ago

This might be fixed now...