[Help] Wheel swaping back right after turn.

Making or wanting help making your own asset? Check in here
Post Reply
dkleader
Posts: 35
Joined: 2009-07-31 10:55

[Help] Wheel swaping back right after turn.

Post by dkleader »

I have my vehicle and when I'm turning the front wheels, when i release the key it swaps back immediately, anyone got a clue why?

Here's the vehicle, if it should be needed.
https://www.dropbox.com/s/2yq69qp8njp1f ... -05-12.rar

Image
Im Working For Illution
Illution.dk
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: [Help] Wheel swaping back right after turn.

Post by AfterDune »

Isn't that always the case with vehiclee? The steering wheel resets to its original position.

If you don't want, there's an option to not do that.... But don't know the name. Though I don't know why you want that.

...or do I misunderstand what you mean?
Image
dkleader
Posts: 35
Joined: 2009-07-31 10:55

Re: [Help] Wheel swaping back right after turn.

Post by dkleader »

Maybe is just as it should be now, this is just what Rhino wanted me to change from the current, maybe i misunderstoud it? "One other small problem if you look at the wheels in 3p while using input, when you turn them then let go of either a or d, you will see the wheels snap back forwards instantly. Can't remember what you need to do to fix that but there is a way. But on other vehicles isn't there a delay before the wheels are resetted, smoothly or isn't it so. I haven't been working with it so much yet, so maybe the current is fine, I'm not sure i try to confirm it with Rhino... But thanks for your fast response...

Image
Im Working For Illution
Illution.dk
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: [Help] Wheel swaping back right after turn.

Post by Rhino »

[R-DEV]AfterDune wrote:Isn't that always the case with vehiclee? The steering wheel resets to its original position.

If you don't want, there's an option to not do that.... But don't know the name. Though I don't know why you want that.

...or do I misunderstand what you mean?
The problem is is that the wheel snaps back to the front instantly, rather than slowly moving back to the forward position after you let go of a control.

looking though the code quick I'm pretty sure this line of code is the problem:

Code: Select all

ObjectTemplate.snapToZeroOnNoInput 1
If you remove that from your front wheels, they should gradually reset back to facing forwards :D
Image
dkleader
Posts: 35
Joined: 2009-07-31 10:55

Re: [Help] Wheel swaping back right after turn.

Post by dkleader »

Tested it out and i worked, thanks! I'm still working on the Ik/Hand positioning, and it is causing me some problems but i asume it would be done tommorow :-)

Image
Im Working For Illution
Illution.dk
Post Reply

Return to “PR:BF2 Community Modding”