Page 1 of 1

Schematyc Rotation Help

Posted: Tue Jun 26, 2018 3:18 am
by Skeletor
Hey there, I've been trying to set up a FPS style controller using schematycs. I have been trying for weeks now, and have finally got it to start rotation, however, 2 issues continue.
1) The player only rotates in 1 direction (assuming mouse movement is the issue as the check always turns out false)
2) The player only rotates while moving, and after movement stops, the angle of the player reverts to the old camera angle.

I am using the schematyc blank project template for this, and i'm not much of a programmer, more of a modeler. However, for my purposes currently, just having a character that can move around in the world like this would be helpful. I have tried other c#, c++ templates as well as coding my own c#, however coming from UE, and Unity, this is quite the leap up, in coding as well as graphically. Since I'm focused more on graphical aspects right now, CE seems to be the best option for me and my friend.

Attached are pics of what I have for it. One is the update function, and the other is the main function for rotation (currently only focusing on horizontal rotation, but, will be doing vertical as well at some point, and a few other functions. Anyways, if anyone can pick out what is going wrong with this, please help me here. I am trying to understand schematycs a bit more. If you need more information, let me know. Thanks,

Re: Schematyc Rotation Help

Posted: Tue Jun 26, 2018 6:01 pm
by mknmknmknjk
check attachment

Re: Schematyc Rotation Help

Posted: Tue Jun 26, 2018 6:05 pm
by mknmknmknjk
check snapshot . there is yaw limit to -90 to 90 could not resolve.

Re: Schematyc Rotation Help

Posted: Wed Jun 27, 2018 1:38 am
by Skeletor
Thanks, that helps a bit. Unfortunately, after rotating past the clamp (which I extended to a higher value), it cuts the entire display area out, and terrain. Any idea why? Since it's for a FPS, the clamp feature wouldn't be good for the mouse X. but, the rest I didn't even think of, thanks again. Just need to figure out why it's glitching the screen after 80 degrees of a turn.

Re: Schematyc Rotation Help

Posted: Wed Jun 27, 2018 6:59 am
by mknmknmknjk

Re: Schematyc Rotation Help

Posted: Thu Jun 28, 2018 10:53 am
by mknmknmknjk

Re: Schematyc Rotation Help

Posted: Fri Jun 29, 2018 12:18 am
by Skeletor
Thanks for the link. but as I still get this occurring (see picture), when rotating when bypassing the clamp on x mouse movement. As much as c++ is an optimal choice, I am kind of hoping to do this if possible with just schematycs so i can learn a bit more, and try to get something simple. As mentioned, I am a modeler more than programmer. Does anyone know why the screen does this?
3.png
screen issue
3.png (604.37 KiB) Viewed 1090 times

Re: Schematyc Rotation Help

Posted: Thu Jul 12, 2018 1:14 pm
by Cry-Flare
Perhaps a video would show more of your issue. It is hard to say what is happening from a screenshot.