查看单个帖子
旧 2009-05-06, 11:08 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】problem with blockreference 9insert0 ...again

problem with blockreference (insert) ...again
problem with blockreference (insert) ...again
hello,
i still have my problem with an oddbblockreference.
i m using the blocktransform matrix with the translation and rotation part but the object is not in the *correct* place at the end in my scene. is there any *offset* anywhere ? or someone can explain me how to interpret the data to add the reference object in the correct place ?
thanks for your help, i m really stuck on that (maybe it s really easy but i can not see it).
stephane

do you use oddbblockreference::setblocktransform() method? possibly the matrix being passed to it is composed incorrectly (order of multiplying of rotation and translation parts)
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)