N
N
netcha1n2022-01-27 20:18:43
C++ / C#
netcha1n, 2022-01-27 20:18:43

How to do tension, rebound and stop the platform?

61f2d30c510e3246515074.gif

On the gif, I demonstrate exactly how I want the script to work, I just don’t understand how to implement the platform stop when it returns, I set AddForce every 5 seconds, but I can’t stop it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nekit Medvedev, 2022-01-28
@NIKROTOS

Is AddForce definitely required there? Why every 5 seconds?
If you do through it, then you should add rb to the block so that the platform crashes into it.
Is it possible to get by with just a smooth change of coordinates (it will be less resource-intensive)?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question