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 / Using limb for FPS muzzleflash.

Author
Message
Broken_Code
15
Years of Service
User Offline
Joined: 20th Aug 2010
Location: Bremen, Germany
Posted: 20th Nov 2010 14:48
Hello again!

Right, I'm trying to use a limb attached to the weapon object as the muzzleflash by hiding it then showing when needed.
Here's the problem:
When I try to rotate the limb to face the camera by positioning a dummy object there:


Which kind of works but the angle of the plain seems to be based more on where the camera is on the global axes rather than where it is in relation to the camera, what am I doing wrong?

Thanks,
Broken_Code
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 21st Nov 2010 11:29
That won't work because your muzzleflash object is actually pointing from a 'relative' position...

Why not keep the muzzleflash object rotated in a position relative to the gun, as it would be in real life?

My muzzleflash shown in my signature was rotated to the weapon and looks fine (I think).

Login to post a reply

Server time is: 2026-07-21 12:49:30
Your offset time is: 2026-07-21 12:49:30