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.

3 Dimensional Chat / bullet from gun position

Author
Message
redeye
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location:
Posted: 10th Apr 2004 23:04
dose any one know how to make the bullet always fire from where the gun is thanx

im new to games creation so plz help if you can
Penfold
21
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 10th Apr 2004 23:22 Edited at: 10th Apr 2004 23:23
You need to find the X Y Z of your gun then place your bullet there for firing...

there could be easier ways but this seems to be the most obvious.

For the code for this look up position object command and
object position x and y and z for finding your gun position

that should be enough to get you started..

'Ooh 'eck chief'...'crumbs'
redeye
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location:
Posted: 10th Apr 2004 23:27
iv positioned the bullet where my gun is but when i turn the carera around the bullets on the other side of the screen

every thing that has a begining has an end
Penfold
21
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 10th Apr 2004 23:46
your main loop in your program should continue to fix it to your gun unless its fired..then it should travel on its way.

Maybe you should only create your bullet at the point of firing then it won't move irratically.?

'Ooh 'eck chief'...'crumbs'
redeye
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location:
Posted: 11th Apr 2004 00:26
sint there any code just to make it like stick to the gun

every thing that has a begining has an end
Penfold
21
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 11th Apr 2004 14:23
I think you could stick it the gun as a limb but there wouldn't be much point to that cuz you may want to fire it sometime..

I think someone else could be more help to you than me...

'Ooh 'eck chief'...'crumbs'
Siege
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Norway
Posted: 13th Apr 2004 20:32 Edited at: 13th Apr 2004 20:33
There is a tutorial here on this site, here it is:

http://files.thegamecreators.com/developer/db/3d_tutorial_source.zip

I have read the codes ++ there is a lot of cool stuff and you solution to your problem!

SiegeDelux@:
Siege
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Norway
Posted: 13th Apr 2004 20:35
If you dont wanna download it here is one of the topic:
[href]
http://developer.thegamecreators.com/?f=t01/3d_tutorial_15
[/href]

SiegeDelux@:
redeye
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location:
Posted: 13th Apr 2004 20:43
Siege if u had read the above posts you would know i allready know how to do the gun like in the 3d tutorials with dark basic i want to know how to make the bullet fire from the gun position if the gun is not in the center of the screen because i have the bullet shooting fine but when the camera is turned around the bullet is at the other side of the screen

every thing that has a begining has an end
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 13th Apr 2004 20:54
he doesnt read posts

Siege
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Norway
Posted: 13th Apr 2004 21:03
Quote: "he doesnt read posts"

i do but i misunerstood!

anyway!

I'll try to fix you problem!

SiegeDelux@:
Siege
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Norway
Posted: 13th Apr 2004 21:05
Can you give me your source code to my e mail:
[email]
[email protected]
[/email]

SiegeDelux@:
Peter H
21
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 13th Apr 2004 21:44
i wouldn't suggest giving him your source code...(he would probably put it up with imesh )

Time Soft-"Your wife is death. How? NO idea. But it is murder. REVENGE!!!!!!!!!"
redeye
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location:
Posted: 15th Apr 2004 14:57
im not giving u the sorce code if u knew how to make the bullet alwayes fir from the gun position you wouldnt nedd my sorce code

every thing that has a begining has an end
Siege
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Norway
Posted: 19th Apr 2004 21:34
Quote: "i wouldn't suggest giving him your source code...(he would probably put it up with imesh )"

I would not do that!

Enyway....
Just write it down here on the forum(not the whole source code).

SiegeDelux@:

Login to post a reply

Server time is: 2025-06-28 12:19:57
Your offset time is: 2025-06-28 12:19:57