Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

ok thanks

Ok, I looked and the ACE is already there. Use Enable Quaternion and Set Quatrenion.

Set quaternion uses this format: "[x,y,z,w]", where x,y,z,w are the values of the quaternion.

You can use JS to create the quaternion using the globatThis.glMatrix libraries, they are documented here:

You could try: 

setAxisAngle(out, axis, rad)

https://glmatrix.net/docs/module-quat.html

thanks