Re: Visual Flowchart Editor Tutorials {69} and counting...
actually 2 axis movement isn't that hard
you can use a custom camera move it to the spot of the object you want to rotate
place a dummy or whatever you want as target
then just use the angles of the camera to rotate your object
i actually made this a long time ago for a heat seeking missile but back then u used an extra operand to make it face in the right direction causing it to glitch for certain quadrants
this however can probably all be solved if you use a custom pivot that is altered to make it face the right direction
a problem remains is that the camera needs to be active and that it would change cameras when it is within the range
Re: Visual Flowchart Editor Tutorials {69} and counting...
Nah, forget about the very, very, very complicated coding. I just used a custom camera with 0.10m range and match up it's rotation and it worked fine thanks to lukkey19! http://forum.redlynx.com/forum/image.../icon_cool.gif
That took me only:
A interval trigger,
Object position Event,
Vector object info data source,
Get vector,
Two Input Operators and
a custom camera.
So, I used 6 things for two axis rotation!
I just wanted to move forward with my skill game and didn't want to wait longer to solve it.
But still thank for your suggestions. http://forum.redlynx.com/forum/image...icon/smile.gif
edit: Wow, Sparkierjonesz posted before me and I didn't see. http://forum.redlynx.com/forum/image...icon/smile.gif
Re: Visual Flowchart Editor Tutorials {69} and counting...
Quote:
Originally Posted by sparkierjonesz
actually 2 axis movement isn't that hard
you can use a custom camera move it to the spot of the object you want to rotate
place a dummy or whatever you want as target
then just use the angles of the camera to rotate your object
i actually made this a long time ago for a heat seeking missile but back then u used an extra operand to make it face in the right direction causing it to glitch for certain quadrants
this however can probably all be solved if you use a custom pivot that is altered to make it face the right direction
a problem remains is that the camera needs to be active and that it would change cameras when it is within the range
Excellent http://forum.redlynx.com/forum/image...icon/smile.gif
You should make a tutorial for it, and I'll link to it from my math-heavy version.
Re: Visual Flowchart Editor Tutorials {69} and counting...
I made a tutorial for the camera rotation tracking, but i need to check with the OPE and camera before it's really finished.
https://docs.google.com/drawings/d/1...9zsJtUypw/edit
Re: Visual Flowchart Editor Tutorials {69} and counting...
Quote:
Originally Posted by Blastergamer
instead of operands i would just use a glue joint and rotate it so it gets align with the cam
this way it 'should' also work if you want to move the rotating object
all whats needed extra is just an ope to move the camera to the objects position
Re: Visual Flowchart Editor Tutorials {69} and counting...
Nice, I've already used nannerdw's version for my skill game but this looks good.
Re: Visual Flowchart Editor Tutorials {69} and counting...
Quote:
Originally Posted by sparkierjonesz
Quote:
Originally Posted by Blastergamer
instead of operands i would just use a glue joint and rotate it so it gets align with the cam
this way it 'should' also work if you want to move the rotating object
all whats needed extra is just an ope to move the camera to the objects position
Yeah, ok, you can do this but I want to use the operator way.
But yes, OPE the camera to the object! Thanks spark! http://forum.redlynx.com/forum/image...icon/smile.gif
Re: Visual Flowchart Editor Tutorials {69} and counting...
Re: Visual Flowchart Editor Tutorials {69} and counting...
Re: Visual Flowchart Editor Tutorials {69} and counting...
Quote:
Originally Posted by Blastergamer
this is a good method, however adding an offset to the rotation that are used as global rotating in the OPE is a bad idea, this is because the pitch value will play havoc with the yaw/bank if it goes outside its scope 90-270 degrees, when the pitch transitions these values it flips the yaw/pitch 180 degrees. the only way to get around this as was suggested is to use a glue pivot object rotated so the tracking object matches the camera.