27-12-2018, 01:30 AM
(This post was last modified: 27-12-2018, 02:47 AM by ObiWan6565.)
(23-12-2018, 07:25 PM)josemendez Wrote: Use local-space simulation:
http://obi.virtualmethodstudio.com/tutor...space.html
Hi Jose,
Thank you for the quick response. I tried switching to the local space simulation but with a FixedUpdate of 30fps the program just crashes, so maybe it's way too many simulations/sec for ObiSolver to handle? Below is a more detailed description of what I'm trying to achieve:
In my AR game, I've managed to attach a virtual ball and chain to a person's hand by using the RGB feed of a simple webcam. The chain rendering mode works perfectly for this and I'm really happy with the results. However when the person walks back and forth from the webcam, I want the chain to scale accordingly:
[attachment=212]
Rigidbodies scale perfectly but when I scale the rope object, the links either separate out (when scale is decreased) or move closer to each other (when scale increased) and I was wondering if there's a simpler way to achieve this procedurally, during runtime without changing the length or the number of particles in the rope?
Thanks,