Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (VoroneTZ, AndrewAMD, Akow), 1,481 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 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 | chip programmers | 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