onComplete event for constraints

Software: Away3D 4.x

Alex Bogartz, Sr. Member
Posted: 20 September 2011 03:08 PM   Total Posts: 216

If you set a Generic6Dofconstraint there is no apparent event that gets fired when it hits the limit on a given linear axis or rotation axis.  If you want to do something like play a motor sound or run 10 times and then stop, you have to poll lots of positions instead of simply waiting for an event to be triggered.

How about adding an onComplete param or LIMIT_REACHED event to allow reaction to those events?


rohanku23, Newbie
Posted: 11 December 2011 03:01 PM   Total Posts: 1   [ # 1 ]

Nice post! I like this post and i also visit the site. The site is also nice.



Away3D Forum

Member Login