Thread
:
Translating relative to orientation with matrices
View Single Post
#
2
05-23-2011, 08:55 AM
farshizzo
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
Vizard uses the Z-axis for forward and Y-axis for up. Changing the code to the following should give you the behavior you are wanting:
Code:
current_transform.preTrans(0, 0, 120) current_transform.preEuler(current_area_curvature, 0, 0)
farshizzo
View Public Profile
Find all posts by farshizzo