Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About Moving?
#24
(03-03-2021, 02:53 PM)josemendez Wrote: Nope, I only offer support through the forum or the support email. No exceptions, sorry.

I will later test the project on the exact same Unity version you reproduced the error in and report back the results.
OK, i will make the other demo send your.

other problem: I want my softbody keep move,how can i to do that?

i test like that(on update function):

Code:
for (int i = 0; i < softbody.solverIndices.Length; i++)
{
    float xVelocitie = softbody.solver.velocities.x;
    xVelocitie -= xOffsetAdd;
    if (xVelocitie < -maxSpeed)
    {
        xVelocitie = -maxSpeed;
    }
    softbody.solver.velocities = new Vector4(xVelocitie, softbody.solver.velocities.y, softbody.solver.velocities.z, softbody.solver.velocities.w);
}


The problem is that it's too inefficient。Do you have any suggestions?
Reply


Messages In This Thread
About Moving? - by zero16832 - 27-02-2021, 09:15 AM
RE: About Moving? - by josemendez - 27-02-2021, 09:56 AM
RE: About Moving? - by zero16832 - 27-02-2021, 10:17 AM
RE: About Moving? - by josemendez - 28-02-2021, 07:04 PM
RE: About Moving? - by zero16832 - 01-03-2021, 02:17 AM
RE: About Moving? - by josemendez - 01-03-2021, 01:26 PM
RE: About Moving? - by zero16832 - 02-03-2021, 02:12 AM
RE: About Moving? - by zero16832 - 02-03-2021, 09:46 AM
RE: About Moving? - by josemendez - 02-03-2021, 09:54 AM
RE: About Moving? - by josemendez - 02-03-2021, 11:59 AM
RE: About Moving? - by josemendez - 02-03-2021, 12:23 PM
RE: About Moving? - by josemendez - 02-03-2021, 01:54 PM
RE: About Moving? - by zero16832 - 02-03-2021, 02:42 PM
RE: About Moving? - by josemendez - 02-03-2021, 02:44 PM
RE: About Moving? - by zero16832 - 02-03-2021, 03:11 PM
RE: About Moving? - by zero16832 - 03-03-2021, 02:11 PM
RE: About Moving? - by josemendez - 03-03-2021, 02:28 PM
RE: About Moving? - by zero16832 - 03-03-2021, 02:38 PM
RE: About Moving? - by josemendez - 03-03-2021, 02:44 PM
RE: About Moving? - by zero16832 - 03-03-2021, 02:52 PM
RE: About Moving? - by josemendez - 03-03-2021, 02:53 PM
RE: About Moving? - by zero16832 - 03-03-2021, 03:00 PM
RE: About Moving? - by josemendez - 03-03-2021, 03:05 PM
RE: About Moving? - by zero16832 - 03-03-2021, 03:12 PM
RE: About Moving? - by josemendez - 03-03-2021, 03:18 PM
RE: About Moving? - by zero16832 - 03-03-2021, 03:34 PM
RE: About Moving? - by josemendez - 03-03-2021, 03:44 PM
RE: About Moving? - by zero16832 - 04-03-2021, 09:50 AM
RE: About Moving? - by josemendez - 05-03-2021, 10:38 AM
RE: About Moving? - by zero16832 - 05-03-2021, 02:18 PM
RE: About Moving? - by josemendez - 05-03-2021, 02:39 PM
RE: About Moving? - by zero16832 - 05-03-2021, 03:32 PM
RE: About Moving? - by josemendez - 05-03-2021, 03:41 PM
RE: About Moving? - by the-lander - 01-03-2021, 08:23 AM
RE: About Moving? - by josemendez - 01-03-2021, 09:01 AM