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.

DarkBASIC Professional Discussion / Limb position xyz bug?

Author
Message
ZomBfied
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 13th Feb 2003 03:19
I'm trying to make bullets appear from a gun barrel using Limb Position and it's not working.

It places it somewhere near the world 0,0,0 coords no matter where my object is.

Could I be doing something wrong?
The Big Babou
22
Years of Service
User Offline
Joined: 10th Feb 2003
Location: Cyberspace
Posted: 13th Feb 2003 03:58
perhaps limb offset? i don't know
ZomBfied
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 13th Feb 2003 09:17
It's wierd. I must have the hardest questions.

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 13th Feb 2003 09:39
could this help u zomBfied?




ZomBfied
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 13th Feb 2003 23:26
I can access limbs and all, but When I get the limb position, it gives me strange numbers. Like if I put a bullet at the position of the "gun" limb, it ends up somewhere else entirely. I need it for my retro comp entry.

Gu re gu
22
Years of Service
User Offline
Joined: 14th Dec 2002
Location: United Kingdom
Posted: 14th Feb 2003 00:43
Limbs have their own coordinates so if you set something to their coordinates it will be at 0,0,0 in the main environment because the limb has not been moved (assuming you haven't moved it).
I could be completely wrong because i haven't used limbs for a while. Could it be a stupid mistake like you got the coordinate variables mixed up or left out a letter or am i the only one that does that kind of thing.

Daih Thel phae 'e, clann 'e phaen
ZomBfied
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 14th Feb 2003 01:12
From the help file:

LIMB POSITION X
This command will return the real number world X position of the specified limb of the 3D object...

---By world coordinates I can only assume they don't mean limb-specific.

Login to post a reply

Server time is: 2025-05-18 02:22:18
Your offset time is: 2025-05-18 02:22:18