Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Play swinging sound?
#1
Hi, I have a steel chain attached to an iron ball and want to play a swinging sound when it's moving. Is there anything like HingeJoint.Velocity to handle this?
Reply
#2
(18-04-2018, 08:54 AM)zhuchun Wrote: Hi, I have a steel chain attached to an iron ball and want to play a swinging sound when it's moving. Is there anything like HingeJoint.Velocity to handle this?

You can get per particle velocities using Oni.GetParticleVelocities. See:
http://obi.virtualmethodstudio.com/tutor...icles.html
Reply