Message 1 of 7

Not applicable
10-16-2015
05:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How can we move our entity to particular coordinates.
Like I have a 3dSolid with me, and now I want to move it to (20.0,40.0,0.0)
I have used transformby, but it moves my entity in relate to my present coordinates. I want my the centre of my to go at (20.0,40.0,0.0)
This is what I have tried
AcGeMatrix3d move; AcGeVector3d vector(0, 0, height); move.setTranslation(vector); pSolid->transformBy(move);
I dont want relative movement of my entity but I want absolute movement.
Regards,
Solved! Go to Solution.