Sanjin1

Untitled

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