|
Re: Rotate Camera/View Around Object?
[Re: RealSerious3D]
#367712
04/17/11 03:57
04/17/11 03:57
|
Joined: Jun 2004
Posts: 2,234 Wisconsin USA
FoxHound
Expert
|
Expert
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
|
look down 4 posts to "force an object to be in front of the player"
Then look up mouse_force in the manual.
--------------------- There is no signature here.
QUIT LOOKING FOR ONE!
|
|
|
Re: Rotate Camera/View Around Object?
[Re: RealSerious3D]
#367715
04/17/11 04:15
04/17/11 04:15
|
Joined: Oct 2010
Posts: 346 USA
RealSerious3D
OP
Senior Member
|
OP
Senior Member
Joined: Oct 2010
Posts: 346
USA
|
I'm having trouble getting the script to work. I must be doing something really bone headed. In any case, what I really want is for the model to be the "player" and the mouse to move the camera/view around the player. So, essentially, there would be no "player", but a model in the center of the view that the camera/view would rotate around. Sorry for me being so dense with this. It's a new world for me. 
|
|
|
Re: Rotate Camera/View Around Object?
[Re: RealSerious3D]
#367718
04/17/11 04:29
04/17/11 04:29
|
Joined: Jun 2004
Posts: 2,234 Wisconsin USA
FoxHound
Expert
|
Expert
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
|
if(mouse_left){ really cool code to move the camera around the model goes here
}
"player" is just a pointer and can be given to any entity. Even an NPC. Now that would be funny.
--------------------- There is no signature here.
QUIT LOOKING FOR ONE!
|
|
|
|