Hello,
Is there any possible way to make an object jump?
Example:
There is a crate on the map.
When you activate something, the crate jumps up, like a normal player, while still keeping it's physics (able to move, etc).
Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
How to make an object jump?
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- Ol1vver
- Superfighter
- Posts: 69
- Joined: Mon Nov 19, 2018 4:55 pm
- SFD Account: olv
- SFD Alias: olv
- Started SFD: PreAlpha 1.6.4
- Gender:
I don't understand what to type in, though.
I realised.
I had to use "[object].SetLinearVelocity(new Vector2([l/-r],[u/-d]))". (l - left, -r - right, u - up, -d - down)
Thanks!
1 x