View Single Post
Old 04-25-2017, 07:50 AM
haohaoxuexi1 haohaoxuexi1 is offline
Join Date: Sep 2015
Posts: 81
Originally Posted by Jeff View Post
Does everything look correct with the last code I posted? If so and you need the global transform of the sphere you could try calculating it based on the view transform and the sphere's relative offset.

What are you using to control the movement of the view? When the skeleton moves is it relative to the view or does the view follow? There maybe another way of setting this up through vizconnect.
It works for the last code you give to me. But when I apply print position, it will still give the position which is the same as the skeletal stay in global coordinate(0,0,0). The position is just the relative position.

Do you know how to calculate the global position of the skeletal joints?

Reply With Quote