Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Scale Rope in Runtime
#3
(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,
Reply


Messages In This Thread
Scale Rope in Runtime - by ObiWan6565 - 22-12-2018, 03:39 AM
RE: Scale Rope in Runtime - by josemendez - 23-12-2018, 07:25 PM
RE: Scale Rope in Runtime - by ObiWan6565 - 27-12-2018, 01:30 AM
RE: Scale Rope in Runtime - by josemendez - 27-12-2018, 09:36 AM
RE: Scale Rope in Runtime - by ObiWan6565 - 27-12-2018, 09:57 PM