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
I am creating a game similar to Miner’s Haven (Roblox) using R3F and React Three Rapier for physics. I have conveyors and resources, and I can move them in different directions. However, when I have more than 50 resources moving simultaneously, the game becomes very laggy.
I am using setTranslation to move them, but I would like to know if there is another method.
Also, I only move the resource when it detects that it is on the conveyor.
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
-
I am creating a game similar to Miner’s Haven (Roblox) using R3F and React Three Rapier for physics. I have conveyors and resources, and I can move them in different directions. However, when I have more than 50 resources moving simultaneously, the game becomes very laggy.
I am using setTranslation to move them, but I would like to know if there is another method.
Also, I only move the resource when it detects that it is on the conveyor.
Beta Was this translation helpful? Give feedback.
All reactions