vujadin / BabylonHx

Port of Babylon.js 3D engine to Haxe.
http:/paradoxplay.com/babylonhx
Apache License 2.0
189 stars 43 forks source link

Issue with Mesh.rotate() and Space.WORLD #105

Closed ramsestom closed 8 years ago

ramsestom commented 8 years ago

When using the Mesh.rotate() function in WORLD Space, this do not work (nothing happen) or lagg in many cases. If I use the LOCAL space however, everything is running fine.

I tested it on openfl with a simple box mesh that I tried to rotate by sliding the mouse (I can put the code somewhere if needed). Basically, it is the same as this javascript sample: http://babylonjs-playground.com/#A8AR6#2 but in the javascript version, if I use Space.WORLD rather than Space.LOCAL in the rotate function, everything works fine whereas with BabylonHx this do not work...

EDIT: just found the origin of the issue and made a pull request that fix it.