Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
car crash-deformation #292510
10/04/09 11:36
10/04/09 11:36
Joined: Aug 2009
Posts: 46
Deggendorf, Bayern
Fisch Offline OP
Newbie
Fisch  Offline OP
Newbie

Joined: Aug 2009
Posts: 46
Deggendorf, Bayern
Hello,

I'm making a racinggame and want the car the deformate
on collision. Does anyone have an idea, how to do that? confused


The Internet is full of answers, even to never asked questions! laugh
Re: car crash-deformation [Re: Fisch] #292551
10/04/09 18:16
10/04/09 18:16
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Use vec_for_mesh and vec_to_mesh ( -> manual). If you have several cars that use the same file you may have a look at ent_clone, too.


"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: car crash-deformation [Re: Superku] #292751
10/06/09 16:16
10/06/09 16:16
Joined: Aug 2009
Posts: 46
Deggendorf, Bayern
Fisch Offline OP
Newbie
Fisch  Offline OP
Newbie

Joined: Aug 2009
Posts: 46
Deggendorf, Bayern
Thank, you for your help.


The Internet is full of answers, even to never asked questions! laugh
Re: car crash-deformation [Re: Fisch] #293012
10/08/09 16:18
10/08/09 16:18
Joined: Oct 2009
Posts: 7
Bavaria, Germany
E
eXon Offline
Warez Kiddie
eXon  Offline
Warez Kiddie
E

Joined: Oct 2009
Posts: 7
Bavaria, Germany
Try to set a bone e.g. in the front of the car, give it a name like "front". On crash do ent_bonemove();
and after that some vec_to_mesh() with a random vector.


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