Game Development Community

how to change weapon type?

by Ehrlich · in Torque 3D Beginner · 03/02/2010 (6:40 am) · 5 replies

hello.

i've been "struggling" with T3D the last few days. i've been trying to put together a demo in which i can lift objects by pointing at them, selecting them and toying with them. in 2D, i would have done it in a couple hours, in 3D, im pretty much lost...

so, last night i was thinkering here and there, and found out theres a "template" for a gravity gun... i think that should work for what im trying to do (basically, raycasting from the player to any other object in the scenagraph). thing is, while i kinda know how to edit the player, i dont know how to edit the weapon behavior...

can somebody shed some light into that field to me?... i know in the private area can be some tuts, but since i havent made up my mind yet, i need some guidance here and now... so pretty please?.

thx in advance.

About the author

Computer Science Engineer, with interest in Graphicl Computing, unconventional I/O devices and Artificial Intelligence (for games)


#1
03/03/2010 (3:02 pm)
Well I know the PhysX demo includes a gravity gun script, so you could implement PhysX and try that.
#2
03/03/2010 (6:14 pm)
i saw that script, but when i tried using it, NOTHING happened... i mean, NOTHING. for real, any help would be really appreciatd.
#3
03/07/2010 (2:45 pm)
Did you implemetn PhysX? Also, you have to do other things than just copying the script
#4
03/07/2010 (4:42 pm)
well, if you could just lead me into the right path, i guess i could do it... im asking this, because i have NO IDEA of what to do, or how to do it.

Edit: and yes, PhysX is installed and working, otherwise, the demo wouldnt even boot up to start with.
#5
03/08/2010 (2:17 pm)
Ah, I see. You installed PhysX, but you also have to port it into your project i think, I don't think T3D supports the advanced features of PhysX out of the box.