Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About Moving?
#26
(03-03-2021, 03:05 PM)josemendez Wrote: I'm not sure I understand what you're trying here... unless your floor has friction or you're using velocity damping, or some other external force is slowing the softbody down, it should simply keep moving once you've added a force/acceleration to it.

This already happens in the game: once I press the screen the softbody just keeps moving forward even after lifting the finger, as no forces are acting to slow it down.

Is this what you want? in that case, there's no need to do anything in Update(). Inertia will keep the softbody moving. If you want the softbody to have a "base" velocity, just giving it an impulse at the start is enough. Again, assuming there's nothing slowing it down.
It's my fault. I've got friction on the floor。

other question it:

How can I limit softbody speed(use addForce)?

How can I slow down the softbody speed?
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