12-19-2011, 07:30 PM
I want to make a car move, like someone is driving it. I already converted a car custom model into an entity, but I wanted to know what is the right script to move it foward. Can someone help me?
(12-19-2011, 07:44 PM)Khyrpa Wrote: [ -> ]Make the tires actually spinnable and use physics with prop force. Or just make the entity Movable object and useHaha ok im'na try
SetMoveObjectState
But yeah I have no idea actually if they work properly, test around.
(12-19-2011, 08:00 PM)Victor Wrote: [ -> ]EDIT: I made 107 desactivated copies of the car so, now i can use the "setentityactive"...Eh what?
It's gonna take a while. Starting now from car_1...
(12-19-2011, 08:00 PM)Victor Wrote: [ -> ]EDIT: I made 107 desactivated copies of the car so, now i can use the "setentityactive"...O.o You crazy?? How many polygons does the car have? And is it a static object? did you give it mass? You only need one! and a few recurring "AddPropForce" functions...
It's gonna take a while. Starting now from car_1...
(12-19-2011, 09:44 PM)Statyk Wrote: [ -> ]I gave up... 'cause it was the car model of white night, but as an entity...(12-19-2011, 08:00 PM)Victor Wrote: [ -> ]EDIT: I made 107 desactivated copies of the car so, now i can use the "setentityactive"...O.o You crazy?? How many polygons does the car have? And is it a static object? did you give it mass? You only need one! and a few recurring "AddPropForce" functions...
It's gonna take a while. Starting now from car_1...
(12-20-2011, 06:54 PM)Acies Wrote: [ -> ]The main question is;Smart man... That wouldn't be hard AT ALL and just need a distance and perfectly matched "MovePlayerHeadPos" and that could be a very unique trick =]
Will the player touch/be in/get driven over by the car?
If not animation will provide the most natural looking movement.