How do I shake the camera?
by ggyyggy · in Torque Game Engine · 02/17/2012 (8:27 am) · 8 replies
hey sup guys, i need help!! how to shake the camera when Player get Knock back by monster?
About the author
#2
02/17/2012 (9:01 am)
ok Thanks! do you know how to do=( btw thanks So kind of you
#3
Or you can programatically offset the client's camera pitch and yaw a random ammount and repeat.
Anything more advanced than that will require source code modification to allow more profilic usage of the cameraFx system.
02/17/2012 (3:47 pm)
You can use an invisible explosion object which has the camera shake parameters filled out. Or you can programatically offset the client's camera pitch and yaw a random ammount and repeat.
Anything more advanced than that will require source code modification to allow more profilic usage of the cameraFx system.
#5
02/19/2012 (7:50 am)
HAHAHAHA a fellow CGP programmer...Welcome to nothing.....
#6
02/19/2012 (7:53 am)
On a brighter side, you there is no call back for as you would call it 'shake the camera' if you want to you would need to go into the c++ codes of the engine, look at how torque shakes the camera and create a method just to specifically do that, recompile the engine and your ready to go.
#7
02/19/2012 (11:26 am)
The two ideas that I proposed can be done in script very easily... but can I post source code for someone without a license? No.
#8
http://www.garagegames.com/community/blogs/view/4993
03/08/2012 (8:57 pm)
You might be able to use this,http://www.garagegames.com/community/blogs/view/4993
Associate Scott Burns
GG Alumni