Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  ReattachingParticle
#13
(10-03-2022, 11:01 AM)josemendez Wrote: It's 100% legit, since it's the method used internally by the engine to establish a "reference pose" for attachments.


Code:
rod.solver.orientations[particleIndexInSolver] = yourOrientation;
See: http://obi.virtualmethodstudio.com/manua...icles.html

Note that orientations are only used by rods. Ropes do not use particle orientation at all, setting their position is all you need.
That's strange- because with this method the rotation of rope ends(particle connected) is off of target - maybe tangents update is needed to fix this? (in this case would like to know how it's done)
Reply


Messages In This Thread
ReattachingParticle - by alex798 - 21-02-2022, 04:08 PM
RE: ReattachingParticle - by josemendez - 24-02-2022, 08:53 AM
RE: ReattachingParticle - by alex798 - 09-03-2022, 02:11 PM
RE: ReattachingParticle - by josemendez - 09-03-2022, 02:51 PM
RE: ReattachingParticle - by alex798 - 10-03-2022, 09:05 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 09:32 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 09:39 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 09:43 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 10:01 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 10:36 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 10:50 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 11:01 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 11:24 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 11:37 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 11:42 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 11:51 AM
RE: ReattachingParticle - by josemendez - 10-03-2022, 11:54 AM
RE: ReattachingParticle - by alex798 - 10-03-2022, 12:13 PM
RE: ReattachingParticle - by josemendez - 10-03-2022, 12:26 PM
RE: ReattachingParticle - by alex798 - 15-03-2022, 03:50 PM