Crystal Space
Welcome, Guest. Please login or register.
April 27, 2017, 04:12:01 pm

Login with username, password and session length
Search:     Advanced search
8994 Posts in 2045 Topics by 44521 Members
Latest Member: Home workouts without equipment
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  How to get the player's position and camera's position in walktut?
« previous next »
Pages: [1] Print
Author Topic: How to get the player's position and camera's position in walktut?  (Read 1802 times)
Jr. Member
Posts: 81

View Profile Email
« on: December 11, 2008, 09:33:57 am »

     Now i have run "walktut"  in cel successful.
    The problem is that if i want to get the player's position and camera's position, i don't know how to do it ?!  Please help me , thank you!!
Full Member
Posts: 191

View Profile WWW
« Reply #1 on: December 19, 2008, 11:19:00 pm »

Generally speaking, you need to use the appropriate method from the propertyclass used
for the camera and/or actor movement. In the case of walktut, it's iPcLinearMovement,
and you'd need to use GetPosition() or GetFullPosition().
For the camera, it would be iPcCamera::GetCamera() then iCamera::GetTransform ().GetOrigin ()
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.153 seconds with 14 queries.