0
$\begingroup$

in the figure below you'll see two separate points in time and three object. You can also see the direction object C is facing.

diagram

I am trying to replicate a false point of origin for object B at the center of object A, which will then orbit around A based on the direction of object C in the BGE using python. parenting object B and A are not allowed, in fact no parenting is allowed in this example, neither is rotating object B based on the rotation of object A.

how would I accomplish this in the bge using python?

It took me a while to figure out just how to articulate this, and to keep it clear what I want to do. I thanks for any help in advanced.

$\endgroup$
  • $\begingroup$ The only thing I can think to do really is to create a circle, and then match the object in the allowed points in the circle to the camera. And I don't really know how you'd do that regardless it doesn't seem like a very effective method, any suggestions? $\endgroup$ – Frederick Feb 20 at 19:06
0
$\begingroup$

I dont know BGE but can you place in an empty and parent your object to the empty? That should solve your problem. Your anchor point should be the empty.

$\endgroup$
  • $\begingroup$ "parenting is not allowed in this example" $\endgroup$ – Frederick Jan 10 at 20:25

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.