ok im Building a cart it pulls behind you using a pet follow script what id like is for the wheels to to turn only when the puller or the cart is in motion. is this possibel ? and if so how may i go about it.thanks.
These forums are CLOSED. Please visit the new forums HERE
Question about making a wheel turn only when a thing is in motion |
|
|
Kira Scott
The Finishing Touch
Join date: 6 May 2005
Posts: 26
|
04-30-2007 10:27
Hi all
ok im Building a cart it pulls behind you using a pet follow script what id like is for the wheels to to turn only when the puller or the cart is in motion. is this possibel ? and if so how may i go about it.thanks. |
|
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
|
04-30-2007 10:39
Yes, it's possible. Your first route of exploration may be through the:
moving_start() and moving_end() events. _____________________
--AeonVox--
Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music. |
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
04-30-2007 18:44
Another approach would be to use llGetVel(), which returns the velocity vector. You could be really fancy and make the wheel rotation match the speed
![]() There are helicopters and airplanes that spin their propellors while they fly. Maybe find one of those and disassemble it. |