Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
implementing steering wheel in A7 car level (Not yet solved) #347661
11/17/10 17:30
11/17/10 17:30
Joined: Aug 2008
Posts: 81
J
jpxtreme Offline OP
Junior Member
jpxtreme  Offline OP
Junior Member
J

Joined: Aug 2008
Posts: 81
I'm currently developing a car game. The camera view is inside the car so I included a steering wheel image as panel which I need to rotate like when pressing left or right. How do I achieve this? I'm a beginner in lite c btw. thanks!

Last edited by jpxtreme; 11/18/10 10:27.
Re: how to rotate panel (steering wheel bmap) [Re: jpxtreme] #347662
11/17/10 17:56
11/17/10 17:56
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
panel.angle


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: how to rotate panel (steering wheel bmap) [Re: Superku] #347663
11/17/10 18:17
11/17/10 18:17
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
or a needle...


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: how to rotate panel (steering wheel bmap) [Re: Espér] #347725
11/18/10 10:25
11/18/10 10:25
Joined: Aug 2008
Posts: 81
J
jpxtreme Offline OP
Junior Member
jpxtreme  Offline OP
Junior Member
J

Joined: Aug 2008
Posts: 81
thanks for the replies. I can now rotate the panel using a needle but I have a problem implementing it in (A7 car level). I want the steering wheel to turn left or right according to the position of the front wheels.

I already tried using the front wheel.pan value to needle's var. But it won't rotate properly. I'm stuck, please help.

Re: how to rotate panel (steering wheel bmap) [Re: jpxtreme] #347757
11/18/10 17:22
11/18/10 17:22
Joined: Nov 2010
Posts: 96
Vienna
S
Schubido Offline
Junior Member
Schubido  Offline
Junior Member
S

Joined: Nov 2010
Posts: 96
Vienna
panel.angle = wheel.pan - car.pan


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1