27-03-2025, 05:49 PM
(27-03-2025, 01:45 PM)josemendez Wrote: Yes, since they won't be overwritten by the simulation.
I am using Compute backend.
In my server app, the simulation is running and everything is fine. On my client, I am setting the positions and velocities like this:
Code:
for (int i = 0; i < positions.Count; ++i)
{
int solverIndex = actor.solverIndices[i];
actor.solver.positions[solverIndex] = positions[i];
actor.solver.velocities[solverIndex] = velocities[i];
.
.
.