playMaker

Author Topic: Vector Axis to rotation  (Read 1509 times)

parallel

  • Full Member
  • ***
  • Posts: 155
Vector Axis to rotation
« on: March 13, 2014, 05:21:19 PM »
I'm getting my vector3 from axis input, which determines which way the player faces, he walks in place, while the sphere he walks on should rotate towards him. Translating the vector3 into rotation doesn't do the job. Any tips on how I should approach this?

And how would I go about it if the globe was uneven terrain (varying heights)
« Last Edit: March 13, 2014, 07:43:21 PM by parallel »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Vector Axis to rotation
« Reply #1 on: March 18, 2014, 10:19:47 AM »
Hi,

 try this example attached.

bye,

 Jean