Follow Mouse
by Christian Weber · in Torque Game Engine · 08/16/2006 (4:45 pm) · 9 replies
Hi everybody,
I currently have my player controlled by wasd and looking with mouse just as normal. But I'm playing with god view and I'd like to have a cursor(shouldn't be a problem) and also having my character aiming at it. I'm really not a programmer, also didn't find anything via seach... any ideas?
Sincerely,
Chris
I currently have my player controlled by wasd and looking with mouse just as normal. But I'm playing with god view and I'd like to have a cursor(shouldn't be a problem) and also having my character aiming at it. I'm really not a programmer, also didn't find anything via seach... any ideas?
Sincerely,
Chris
About the author
#2
I have a Mouse Controled player resource out there in GG resource land as well as a few others.. why not sit down with your good friend search and chat for a few? ;)
08/17/2006 (5:19 am)
Search my friend search.I have a Mouse Controled player resource out there in GG resource land as well as a few others.. why not sit down with your good friend search and chat for a few? ;)
#3
08/17/2006 (5:21 am)
Well but i dont want mouse controlled player? only that he aims at the mouse? like i said, i searched already for something like that. :)
#4
08/18/2006 (6:12 am)
*push*
#5
08/18/2006 (6:43 am)
People are generally too busy with their own projects to spare the time to code someone elses game.
#6
08/18/2006 (6:54 am)
I never said that I want someone to give me code or whatever, I asked for ideas and things like that... -.-
#7
08/20/2006 (3:58 pm)
*push* no ideas?
#8
If that;s the case, cast a ray from the mouse, find where it hits the terrain, and turn your player to face that,
I'm sure Ron's resource does a lot of this already.
08/20/2006 (4:27 pm)
Aims at the mouse? You mean aims at where the mouse points to on the terrain?If that;s the case, cast a ray from the mouse, find where it hits the terrain, and turn your player to face that,
I'm sure Ron's resource does a lot of this already.
#9
08/20/2006 (4:46 pm)
Sounds like a 3rd person crosshair. there's a resource for that too.
Torque Owner Christian Weber
HydraGames