Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rigidbody or Transform Movement
#5
(01-30-2020, 10:20 AM)_Aka_ Wrote: Using OffsetRadius or not is I think just a detail. The important thing is to use like you said pseudo gravity and velocity to have a good looking jump. Once you calculated the height using that, you can either apply it by modifying directly the transform, or consider the difference between the desired height and the spline's height, and apply that through the OffsetRadius

FYI, OffsetRadius is used for jumping in example scene 50_EndlessRunner

As I figured out, OffsetRadius is based on Y axis of spline. So using OffsetRadius doesn't help me to implement jump and fall.

I've checked out scene 50_EndlessRunner but it is not a good jump really. As I said when the character is on air it should not depends on Y axis of spline or ground if it depends on Y axis then jumping effect is incorrect. As you can see in this gif from scene 50_EndlessRunner (I just change the spline a little bit for showing incorrect jumping): https://gyazo.com/acf01a2dbb59e06e086e75e5f821928f
Reply


Messages In This Thread
Rigidbody or Transform Movement - by ATHellboy - 01-28-2020, 08:40 AM
RE: Rigidbody or Transform Movement - by _Aka_ - 01-28-2020, 03:29 PM
RE: Rigidbody or Transform Movement - by _Aka_ - 01-30-2020, 10:20 AM
RE: Rigidbody or Transform Movement - by ATHellboy - 01-30-2020, 11:20 AM
RE: Rigidbody or Transform Movement - by _Aka_ - 01-30-2020, 07:47 PM
RE: Rigidbody or Transform Movement - by _Aka_ - 02-02-2020, 05:17 PM
RE: Rigidbody or Transform Movement - by _Aka_ - 02-04-2020, 08:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Add noise to spline controller movement DekoGames 2 10 02-06-2024, 01:28 PM
Last Post: DekoGames
Question Setting instantiated object to spline, then starting movement? _RicO 3 9 06-28-2023, 06:01 PM
Last Post: _Aka_
  How do I make the computer ignore it's parent transform? eastes 3 7 04-06-2022, 12:16 PM
Last Post: _Aka_
  Connect knots to transform BanksySan 3 1,181 01-11-2021, 08:06 AM
Last Post: _Aka_

Forum Jump: