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.

Newcomers DBPro Corner / Newbish FPS Question

Author
Message
KC27
20
Years of Service
User Offline
Joined: 18th Mar 2004
Location:
Posted: 2nd May 2004 06:11
I have this as my current shooting code:



how can I have it shoot the bullet directly from the gun barrrel??

Cheers

MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 2nd May 2004 06:13 Edited at: 2nd May 2004 06:30
Position the object at exactly the same spot of the gun. (Possibly a bit higher if the gun is pointed upward)

[Edit] I'm not entirely sure about what you need. Just position the bullet at the barrel by getting the x,y,z positions of the gun after the bullet has been shot and traveled.



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
KC27
20
Years of Service
User Offline
Joined: 18th Mar 2004
Location:
Posted: 2nd May 2004 06:42
New question

I have an X file as my paintball playing field, but I want it to be like a matrix.....and as easy to use as a matrix, any suggestions??

MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 2nd May 2004 07:03
Well, you'll probebly want to just use a matrix and make seperate objects to place on it. The only other way (that I know) to use a your .x file like a matrix would be to use memblocks and manipulate the vertexes.

I recommend you just use a matrix and seperate objects.



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
Sparda
20
Years of Service
User Offline
Joined: 13th Jan 2004
Location: Pacifica
Posted: 2nd May 2004 07:07
I think you'll find that .x files are sooooo much easier to use than matrices. The intersect object command knows no bounds, trust me. And secondly, that shooting problem could also be solved with casting a ray, rather than have an actually object shot out of the gun.

There 10 kinds of people, those who understand binary and those who don't
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 2nd May 2004 07:21
I know Yellow,..erm I mean MikeS (sorry) and Konrad are trying to help as the nice people they are but I will just point out that Wooly Mammoth Games is a formerly banned member - not "the brother of", the actual member...if you remember, eh? You know, pirates games, takes credit, tries to sell stolen stuff, spams the boards etc etc etc etc etc etc

just an FYI


** DBP_NETLIB_v1 PLUGIN - FULL VERSION RELEASED! ** Mooooooo!
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 2nd May 2004 08:19
Yup I'm well aware CR.

Anything outside the newcomers corner is fair game for me to attack though. (Just a general rule of mine)



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 2nd May 2004 09:00
cool. as long as all are informed I am cool with that.


** DBP_NETLIB_v1 PLUGIN - FULL VERSION RELEASED! ** Mooooooo!
Sparda
20
Years of Service
User Offline
Joined: 13th Jan 2004
Location: Pacifica
Posted: 2nd May 2004 21:03
Hmmm, I see.. that would explain all the stupid questions . Now I have some faith restored in humanity.

There 10 kinds of people, those who understand binary and those who don't

Login to post a reply

Server time is: 2024-09-22 07:21:46
Your offset time is: 2024-09-22 07:21:46