开发者

How to create child node in Ogre3D that only follows the parent without rotation?

I need to create node that will be following parent (with little offset), but it won'开发者_运维知识库t rotate with parent. Only always translate to parent's position.


Maybe your looking for billboard?

From Ogre3d wiki:

A Billboard is a square polygon that is always pointed at the camera. It is also known as a sprite. To make one, you must first make a BillboardSet. Then the billboard can be added to it on a given position. The BillboardSet is a MovableObject and should therefore be added to a SceneNode. The whole procedure is as follows:

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜