Sega Saturn Development > General Jo Engine Help

3D 3rd Person Camera -- Issue with rotating camera face using jo_3d_set_target

(1/3) > >>

ponut64:
Here's a youtube video of my problem

https://youtu.be/6AnHrUpgp88

I don't want to bother you wizards too much here since I've had lots of questions before that I eventually just figured out on my own.

But on this one I really don't have any other idea of how to continue.

Using jo_3d_set_target allows me to rotate the camera's POV, but only for 180 degrees, then it appears to stop.
Which means in practical terms I can't turn the camera around to properly face the "character".

Maybe there's some tricks of translating the entire world to get it to look like it's turning around, but the math involved is too complex for me when I am already translating the world in a circle to get the camera to appear to move around the character. Now I just need to get the camera to face the character.

XL2:
Can you share some of your code?

ponut64:
Yeah sure, here's everything.

http://www.mediafire.com/file/lhscs08j5lengcl/cam_testring.zip

It's a little edited but the functionality (or lack thereof) is there.

ponut64:
Just a bump to let everyone know that I have edited the previous post a million times and now it has something useful.

Sorry, I will do my best in the future to a) refrain from double-posting and b) be generally excellent. And thanks for reading.

XL2:
Ok, I'll look it up.
Btw, what kind of game are you trying to do?

Navigation

[0] Message Index

[#] Next page

Sitemap 1 2 3 4 5 6 7 8 9 10 
Go to full version