#Bounce

1 messages · Page 1 of 1 (latest)

daring bluff
#

Like "something that looks accurate to real life"?

elder glade
#

yeah i guess

#

like it doens't sound like there is a specific gameplay purpose

#

to how high the player bounces off

#

i don't get what the idea is yet

#

you can make the surface bouncy

#

there is a bounce parameter

daring bluff
#

Well, they have to jump onto it in order to clear a gap

elder glade
#

sure

#

but how did regular physics not achieve this for you

#

i sort of know the real answer is that you're not familiar with it

#

which is okay

daring bluff
#

It's in the middle of the gap, and they can't get to the other side without jumping onto it

elder glade
#

for example, you can modify the bounce and friction of the physic material used on the platforms if and only if the player engaged a deliberate jump / has spent a minimum amount of time in the air

#

you could also make the player lighter (reduce its mass) while in the air

#

lots of approaches

daring bluff
#

Alright, how would I do that? 😊

elder glade
#

it really depends what kind of platformer movement you are trying to do.

#

i think you can look through the api docs for the rigidbody2d component

daring bluff
#

Oh, it's a 2.5D game

elder glade
#

but in general you cannot make megaman / castlevania / metroid / conventional platformer movement with unity physics

daring bluff
#

Objects are 3D, but you can only move on the x and y axis

elder glade
#

do you know what kind of movement you want?

daring bluff
#

No, I do not

#

I didn't even think of that

elder glade
#

hmm

#

well you can look at moremountains corgi engine 2.5d

#

it's an asset that helps you build platformers

#

is your goal to like, build levels

#

you probably do not want to be dealing with these details

daring bluff
#

Sorry, had to step away for a bit