Sanjin1

Untitled

Sep 14th, 2021
758
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #import stuff
  2. from ursina import *
  3. from ursina.prefabs.first_person_controller import FirstPersonController
  4.  
  5.  
  6. app = Ursina()
  7.  
  8. #create a player
  9. player = FirstPersonController(collider = 'box')
  10.  
  11. #create a floor
  12. floor = Entity(collider = 'box',
  13.                model = 'plane',
  14.                scale = (100,1,100),
  15.                texture = 'white_cube',
  16.                texture_scale = (100,100),
  17.                color = color.white.tint(-0.1))
  18.  
  19. app.run()
RAW Paste Data