admin管理员组文章数量:1123506
While making a ursina game (3d), Everything works fine but for some reason, instead of a dot or diamond, there is a pink quad shape in the middle of the window.
The pink quad moves with me no matter how much I move the camera (please don't blame me though because I just started 3d development.). I've searched online, here, and the closest I found was a pink dot. I've just made some simple code, here is it:
from ursina import *
from ursina.prefabs.first_person_controller import FirstPersonController
app = Ursina()
ground = Entity(model="Plane", position=(0, 0, 0), scale=300, collider='mesh', texture='grass')
player = FirstPersonController(model='cube', position=(0, 4, 0), collider='box', texture='white_cube', color=color.azure, scale=(2, 4, 2))
camera.z = -5
sky = Sky(texture='sky_sunset')
mouse.visible = False
app.run()
本文标签: pythonHow can I remove this pink rectangle on my screenStack Overflow
版权声明:本文标题:python - How can I remove this pink rectangle on my screen? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736574054a1944816.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论