tipforeveryone
Bronze Supporter
|
How to keep scale for custom object class in editor
When I assign an object in editor with an Object Class instead of Terrain Class, scaling object in Titan Editor does not remain in game, whatever scale I set in editor will become 1.0 ingame.
In virtual drawPrepare() function of custom class, I use "mesh->draw(matrix())"
How can I make this matrix keep scale same as Editor ?
|
|
10-03-2023 06:16 PM |
|
Esenthel
Administrator
|
RE: How to keep scale for custom object class in editor
|
|
10-04-2023 05:55 AM |
|
tipforeveryone
Bronze Supporter
|
RE: How to keep scale for custom object class in editor
mesh->draw(matrixScaled());
It works !
|
|
10-23-2023 09:42 AM |
|