Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Jumping in ursina python

$
0
0

How to make a code in python ursina engine that makes the player jump higher?

I tried to write:

class level_1_class(Entity):    def __init__(self,\**kwargs):        self.player = FirstPersonController()        super().__init__(parent = self.player)        self.blocks = []        self.player.position.z = 10        self.player.speed = 300        self.player.scale = 90        self.jump = 1000

I was expecting that in my map the player that I made will jump high but it didn't work(line number 10)


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>