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,484 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
Carlevel template #280058
07/20/09 20:54
07/20/09 20:54
Joined: Jul 2009
Posts: 80
Area 51
F
fangedscorpion Offline OP
Junior Member
fangedscorpion  Offline OP
Junior Member
F

Joined: Jul 2009
Posts: 80
Area 51
I do not have the carlevel template that people are talking about in their work folders where lite-c is installed. Does anyone have a link to this file?


"Pow! You are dead! Not big suprise!" -Heavy
Re: Carlevel template [Re: fangedscorpion] #280078
07/20/09 22:09
07/20/09 22:09
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
I guess you need Gamestudio Extra or higher.

Re: Carlevel template [Re: Cowabanga] #280142
07/21/09 03:54
07/21/09 03:54
Joined: Jul 2009
Posts: 80
Area 51
F
fangedscorpion Offline OP
Junior Member
fangedscorpion  Offline OP
Junior Member
F

Joined: Jul 2009
Posts: 80
Area 51
Do you have any other advice to move my car realistically?
I would prefer to use physics, but I can not seem to get that to work!


"Pow! You are dead! Not big suprise!" -Heavy
Re: Carlevel template [Re: fangedscorpion] #280193
07/21/09 12:37
07/21/09 12:37
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
The manual, my friend. The manual.

Re: Carlevel template [Re: Cowabanga] #280217
07/21/09 14:06
07/21/09 14:06
Joined: Jul 2009
Posts: 80
Area 51
F
fangedscorpion Offline OP
Junior Member
fangedscorpion  Offline OP
Junior Member
F

Joined: Jul 2009
Posts: 80
Area 51
I looked in the manual and I used all the properties,but I want to move the entity using the arrow keys. here is my code:

ph_setgravity(vector(0,0,-500));

phent_settype(moke1,PH_RIGID,PH_BOX);
phent_setmass(moke1,1,PH_BOX);
phent_setfriction(moke1,90);
phent_setdamping(moke1, 40, 40);
phent_setelasticity(moke1,75,20);

moke1.pan = 25 * time_step* (key_cul - key_cur);
moke_sp.x = moke1.pan + 25 * time_step* (key_cul - key_cur);
moke_sp.y = 50 * (key_cud - key_cuu);
moke_sp.z = 0;
//phent_addtorqueglobal(moke1, moke_sp); phent_addvelcentral ( moke1, moke_sp );

When I do this, the car stays still and freaks out!
Any help would be great!


"Pow! You are dead! Not big suprise!" -Heavy
Re: Carlevel template [Re: fangedscorpion] #280750
07/24/09 03:18
07/24/09 03:18
Joined: May 2009
Posts: 258
Chicago
J
Jaeger Offline
Member
Jaeger  Offline
Member
J

Joined: May 2009
Posts: 258
Chicago
You can't directly move objects in tandem with physics. You use one or the other. It also looks like you haven't set up any constraints for wheels/chassis/etc? If you try to use things like c_move or my.pan with physics at the same time, you can actually crash your computer. I've done it before.

I'm also interested in how to set up constraints for vehicles physics though. No good examples exist, and the manual is pretty vague.


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