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