Skip to main content

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

thanks again

https://sendgb.com/UWXo3nvhNTx

, here is link...

(2 edits)

I see what you want to do, this takes some 3d math to do. I will add an ACE to set a quaternion, but then you need to do the 3d math to set it properly. Probably will add next week.

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