#πŸ”’ Ursina Engine - 3rd Person like perspective using FirstPersonController

14 messages Β· Page 1 of 1 (latest)

fallow stump
#

Hello! I have the below piece of code. Basically, I have a "game" that I'm working on (right now i'm doing the basic functionalities) and after spliting a single py file (ill share it in the thread) into multiple, I'm no longer able (maybe due to lack of knowledge) to make a 3rd person perspective. At some point I've ended up having 3 models on the same character, 2 static and the 3rd one having the intended animations but place wrongly into terrain.

wintry crowBOT
#

@fallow stump

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

fallow stump
#

Let me know if are required to share the other files of the project. but i believe the problem is from player.py that I've made since I've basically created a class there.

craggy crag
#

This is not something that can be figured out by merely glancing at some code.

#

You need to put bunch of debug logs everywhere relevant and understand what's not happening as intended.

#

this is about time you move away from print-debugging and setup a proper logging system with logging library

fallow stump
#

this is what I've kinda just achieved by making this:
https://paste.pythondiscord.com/KZ6A

The problem here is that now I have two models. are rendered wrongly (the legs and the hands are weird) also, the ray attached to the model that is far from me. ouff. so frustrating 😦

#

loggin library? ill look for it. Thank you! didn tknow

craggy crag
#

the official documentation for logging library includes a handy tutorial on how to use it

wintry crowBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.