Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Stick" rigidbodies to softbody
#10
(07-05-2021, 04:26 PM)josemendez Wrote: This script does exactly the same as your previous one, but in a more convoluted way: you’re storing the position in a matrix, then immediately extracting and applying it. So the result is the same as before.

Also, you’re applying the particle rotation to your sphere directly, which will make no differente since a sphere rotating around its center looks as if was not rotating at all.

You need to express the position of your sphere in the particle’s local space. Read about local/world space and basis vectors/matrices, this is a fundamental part of making games that you will use very often.

On monday I will write a small sample script for you. cheers!


Okay thanks a lot. Meanwhile I will also try to figure it out.
Reply


Messages In This Thread
"Stick" rigidbodies to softbody - by Spectra_7 - 07-05-2021, 10:08 AM
RE: "Stick" rigidbodies to softbody - by Spectra_7 - 07-05-2021, 06:36 PM