In-game object interaction.
by Christopher Borger · in Torque Game Engine · 05/24/2007 (11:09 pm) · 2 replies
Hi,
I need some pointers on how I can make the mouse to interact with objects in the game.
What I would like to do is from a first persion mode, freeze the camera and use the mouse to pull, drag, push objects in the environment.
(for example open doors, drawers, pull a lever...)
I have been looking around the forum quite a bit and found the advance camera mod and ode support stuff,
which could get me a bit on the way regarding camera and physics.
But I have not seen anything about object interaction with the mouse.
Have anyone done/seen something like that?
Thanks!
I need some pointers on how I can make the mouse to interact with objects in the game.
What I would like to do is from a first persion mode, freeze the camera and use the mouse to pull, drag, push objects in the environment.
(for example open doors, drawers, pull a lever...)
I have been looking around the forum quite a bit and found the advance camera mod and ode support stuff,
which could get me a bit on the way regarding camera and physics.
But I have not seen anything about object interaction with the mouse.
Have anyone done/seen something like that?
Thanks!
#2
I think that link will definitely help me on the way!
05/25/2007 (3:46 am)
Thanks Alex for the quick reply!I think that link will definitely help me on the way!
Alex (Stalker) Sakablukow
Default Studio Name
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11152