Apress / Devel-2D-Games-Unity

Source Code for 'Developing 2D Games with Unity: Independent Game Programming with C#' by Jared Halpern
https://www.apress.com/us/book/9781484237717
Other
215 stars 53 forks source link

Moving kinematic objects with velocity? #24

Open mprogers opened 4 years ago

mprogers commented 4 years ago

In the discussion of the RigidBody component, it says that "[t]hey do have a velocity but only move when we move their Transform component, usually via a Script. " However, I inadvertently made my Player Kinematic, and it still worked with velocity. This might be a change since the book was written (always an occupational hazard, trying to keep up with Unity!) -- https://answers.unity.com/questions/866484/move-a-rigidbody-when-kinematic.html