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
Hi,
I'm trying to figure out how to use <InstancedRigidBodies> (React Three Rapier) with a <Sampler> .
Here is a basic example spreading spheres over the surface of a cube's mesh:
Now when I put this into an <InstancedRigidBodies>, all the spheres are back to original position, rotation and scale.
What is the proper way to apply back to the spheres the transforms set within the <Sampler> ?
Thanks !
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm trying to figure out how to use
<InstancedRigidBodies>
(React Three Rapier) with a<Sampler>
.Here is a basic example spreading spheres over the surface of a cube's mesh:
Now when I put this into an
<InstancedRigidBodies>
, all the spheres are back to original position, rotation and scale.What is the proper way to apply back to the spheres the transforms set within the
<Sampler>
?Thanks !
Beta Was this translation helpful? Give feedback.
All reactions