Floating car.

Posted By: CharlieAmer

Floating car. - 06/22/09 10:11

hello.

I have a car game where one character have a 'floating' CAR.
It should have same physics as other cars, but it will NOT have a wheels, just body, and it will be floating over ground (not flying :D).
How this can be done ?

I have thought of invincible wheels, but it will collide terrain AND other cars (it should not whit other cars), so, I think this way is impossible.
any help is appreciated !
Posted By: fogman

Re: Floating car. - 06/22/09 10:30

phent_setgroup (ENTITY* entity, var groupID );

Could be used to exclude wheel <-> wheel <-> car collision
Then you can use invisible wheels.
Posted By: CharlieAmer

Re: Floating car. - 06/22/09 10:33

invincible entity will collide with terrain ?
Posted By: Blink

Re: Floating car. - 06/22/09 15:52

if its invisible it still exists as long as it isnt passable, right?
Posted By: CharlieAmer

Re: Floating car. - 06/22/09 16:56

yep, you are right smile
© 2023 lite-C Forums