Posts: 12
Threads: 5
Joined: Jul 2018
Reputation:
0
Im using an older version of Obi cloth, 3.4. When I use GetParticlePosition() it only will return the correct position when the cloth object is selected. Is there a way to make sure the position is up to date when the function is called or something I overlooked. I've tried it with a new default cloth setup to ensure my apps cloth wasnt bugged.
Posts: 6,321
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
05-01-2021, 07:50 PM
(This post was last modified: 05-01-2021, 07:50 PM by josemendez.)
GetParticlePosition() in 3.4 returns a world-space position for a given particle, regardless of it being “selected” or not. I can’t seem to reproduce this behavior you describe. Would you share the exact code you’re using?