Physics vehicle HELP CSS Created 16 years ago2008-09-05 12:09:17 UTC by Spike Spike

Created 16 years ago2008-09-05 12:09:17 UTC by Spike Spike

Posted 16 years ago2008-09-06 19:08:44 UTC Post #254984
I've followed a tutorial on how to make a driveable vehicle on fps banana, but it sucks because It looks too much to the HL1 kind of vehicles and is way too much unrealistic.

So I've invented my own way to make the vehicle, with trigger_pushes instead of phys_trusters or whatever they're called. It works "ok", they're parented and all the stuff, i can control the "vehicle" by pressing AWSD, problem comes when turning left and right, trigger_push pushes all the object instead of rotating it taking the origin point as reference. Here's a picture where I show it well.

Blue thing is the vehicle, brown things the trigger_pushes, R is supposed to turn left, and L to turn right (yeah, I messed the letters). Red point is origin. What you see below the picture is what it's doing atm when I try to make it go right(wrong), and what you see on the right is what I want it to do.
User posted image
EDIT: COme on help me :(

what i want to do is replace the left right pushes to a func_rotate, and parent the phys_box to the func_rotate so it can turn left and right, but game crashes when I do it.

What I want is a func_rotate that is affected by gravity and physics of the agme, why can't I do that? :(!
Posted 16 years ago2008-09-06 20:35:03 UTC Post #255022
I kinda see what you want but realism is a bit over the top...Creating entity stuff doesn't exactly lead to realism. But I was thinking if the push works for forwards and back, can you not use the thrusters for turning? So you have a bit of both?
Habboi HabboiSticky White Love Glue
Posted 16 years ago2008-09-06 21:25:58 UTC Post #255024
Hehehehehe, you should've asked me about it Spike.

I've made more vehicles than you could think of, heh.

Ill have to help you out when I get home. I'm at a friends house :/

I just hope your awake then, otherwise ill help you tomorrow.
TheGrimReafer TheGrimReaferADMININATOR
Posted 16 years ago2008-09-20 21:24:56 UTC Post #255029
BUMP and...

I'm doing a car right now, it's fully working but source physics make it suck when you drive it. It always turns left/right when you're going forward, I just don't want physics to be that "realistic", why is physics messing it?

Random enviroment forces affects too much to prop_physics, nothing goes forward.

Maybe is friction what is causing it, anyone can help me?
You must be logged in to post a response.