If you have a white page, can you look into
- your Unity console - are there any errors or warnings?
- your Browser console - are there any errors or warnings?
Thanks!
If you have a white page, can you look into
Unity not have error in log, but my browser yes
by user 191204280198234122
She say me āRotatesā as double define
by user 191204280198234122
Its ok ! Full working now
by user 191204280198234122
But I keep my Rotation problem
by user 191204280198234122
I upload video
by user 191204280198234122
Have u found any solution ?
by user 191204280198234122
**This is video of bug : Upload files for free - Enregistrement de lāeĢcran 2022-11-28 aĢ 18.43.06.mov - ufile.io **
by user 191204280198234122
@Marcel_Wiessler1
or @herbstā:cactus: any idea for lock rotation on axis ?
With unity is just checkbox, but I dont know how can I make this in js/ts
by user 191204280198234122
I think you need to just call this.context.domElement.requestPointerLock() in one of your scripts
Which checkbox is it in Unity?
no, i already have it
by user 191204280198234122
its for lock my pointer and not have my mousse (for move my mouse without touch screen border)
by user 191204280198234122
But I wonder if itās possibleā¦?
Or I need to make a TPS
by user 191204280198234122
Could you clarify what you mean with ālock rotation on axisā?
Look my video
by user 191204280198234122
when i made circle with my mouse my camera is turned
by user 191204280198234122
I have watched your video. It seems that your script does not rotate around the right axes. If you want that kind of rotation you should
to ensure you donāt get that effect of getting out of level.
To rotate arounda specific world axis you can use this threejs method: three.js docs
rotate around x in local is right below:
three.js docs