playMaker

Author Topic: What is the Action to rotate arround a target ? [SOLVED]  (Read 1761 times)

vonpopov

  • Junior Playmaker
  • **
  • Posts: 98
What is the Action to rotate arround a target ? [SOLVED]
« on: August 29, 2014, 11:51:27 AM »
Hi

What is the Action to rotate arround a target ?
I know how to set the target, i just miss the good action to rotate arround ?

regards
« Last Edit: August 29, 2014, 05:48:29 PM by vonpopov »

Sly

  • Full Member
  • ***
  • Posts: 123
Re: What is the Action to rotate arround a target ?
« Reply #1 on: August 29, 2014, 12:11:59 PM »
You should add more details about what you are trying to do, because I'm not sure about what you are talking about.

You can probably use "Look At" action to point something + a move action, who's moving on X move vector (+1 or -1).

vonpopov

  • Junior Playmaker
  • **
  • Posts: 98
Re: What is the Action to rotate arround a target ?
« Reply #2 on: August 29, 2014, 01:16:16 PM »
You should add more details about what you are trying to do, because I'm not sure about what you are talking about.

You can probably use "Look At" action to point something + a move action, who's moving on X move vector (+1 or -1).

This is for an RTS camera.
When middle click pressed, then mouse left / right made the camera turning arround the hitpoint (middle click)

no problem with the hit point, no problem for the camera movement, i just need some tips about the correct action to use in order to rotate "arround" the hitpoint

:)

vonpopov

  • Junior Playmaker
  • **
  • Posts: 98
Re: What is the Action to rotate arround a target ?
« Reply #3 on: August 29, 2014, 05:46:10 PM »
Found, by myself.

Store the position where i picked, then spawn an empty object, set it as parent, turn the empty object, once this is finished, delete the empty object

that is all :)