Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Bug Reports / Dark Physics: vehicle with "add libs" = reversed steer, wheel rotating problems.

Author
Message
Space Fractal
22
Years of Service
User Offline
Joined: 5th Apr 2004
Location: Denmark
Posted: 1st Oct 2006 03:24 Edited at: 1st Oct 2006 04:16
Original Post:
It seen the creating of a vehicle have some very mystery bugs in the engine.

First of all, the whell it create, seen too small, even I use the same positions of the libs it self (and it positions it wrong).

The second problem, I can´t get the wheel rotated in the correct way. It missing a command, that can tell it wich way it should being rotated (btw rotating the limb into the correct way).

Even I tring to rotate the limb with dark basic own command, this seen not to work at all with that object?

And the "best" of all, the steering is reversed (left/right only)!

Here is the code (The code tag did not work (firewall problem?), hence it a link):
http://www.spacefractal.com/Temp/dpproblem.txt

The media must being in subfolder with name test.

NB. One of the wheel object is rotated 90 degree ind the test file, with is a test. So 2 of them rotate correct, but roated 90 degree. The other 2 wheel flips. I would wish to just got one of them works.

....

Version 2:

Some quicks is found and corrected. The main problem is now facing and size of wheels. It drive i sideleans now.

I wich to get it drive the correct way, so it dosent drive side, so it look DP missing 3 important commands:

phy set vehicle Direction ID, X, Y, Z (taking -1, 0, 1 as args)
or
Phy Rotate Wheel ID, LIMB, x, y, z (wich directly should the whell rotate?)

phy set vehicle Y Invert Steering ID
phy set vehicle X Invert Steering ID


Her source for the little better version is on source file. Im dosent write it here, since code tag didden´t work and just write it out as regular text.

NB. The dll is created by me in Purebasic and is not allow to use in other software, unless you have Pure Basic (wich is fine with me).

NB. Sorry for many edits. some was due to problems with code tag.

http://www.PlayITgame.org

Login to post a reply

Server time is: 2026-06-09 20:04:04
Your offset time is: 2026-06-09 20:04:04