How to make a wheel turn
3 posts • Page 1 of 1
How to make a wheel turn
How can I make a wheel (tire) turn if and only if object (marble) is touching an object (floor)
I have absolutely no knowledge of thyme. Could someone please walk me through it in a step-by-step manner? THANK YOU.
I have absolutely no knowledge of thyme. Could someone please walk me through it in a step-by-step manner? THANK YOU.
- dsengere
- Posts: 12
- Joined: Thu Oct 22, 2009 5:49 pm
Re: How to make a wheel turn
Well.. you could use some variables to change a motor speed...
so..
1.press the ~ key
2. type in: "Scene.my.eng1 = 15.0"
3.Make your tire/engine
4. Go to the script menu of the tire hinge and where it says "Motor spped" Change the variable in it to: "{Scene.my.eng1}"
5.Make a collider of some sorts
6.go to the script menu of the collider
7.Where it say "Oncollide" Put this in: "{Scene.my.eng1 = 0.0;scene.my.15.0}"
(note take out all quotations...)
so..
1.press the ~ key
2. type in: "Scene.my.eng1 = 15.0"
3.Make your tire/engine
4. Go to the script menu of the tire hinge and where it says "Motor spped" Change the variable in it to: "{Scene.my.eng1}"
5.Make a collider of some sorts
6.go to the script menu of the collider
7.Where it say "Oncollide" Put this in: "{Scene.my.eng1 = 0.0;scene.my.15.0}"
(note take out all quotations...)
Chronos wrote:There's nothing wrong with swearing. They're just words. People just think they have a bad meaning. What's the difference between shit and poo? Nothing. They're the same.
-
Rhett97 - Posts: 522
- Joined: Mon Aug 31, 2009 10:32 pm
Re: How to make a wheel turn
I think you allready asked this in another post.. and I already gave you the ansver?
Might be im wrong though..
Also you could use CCW value false / true.. If you want it to turn other way
Might be im wrong though..
Also you could use CCW value false / true.. If you want it to turn other way
If you have a question, have a dollar and call somebody that cares.
No really just PM me if you have a problem
No really just PM me if you have a problem
-
Sniperkasa - Posts: 493
- Joined: Tue Sep 01, 2009 5:34 pm
- Location: The bottom of a lake.
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests