2
\$\begingroup\$

I wanted to ask a question I've always wondered about to the larger crowd of gamedevs out there:

Why is there often a disconnect between the locomotion / kinematic systems that a player controls vs. the ones used by NPCs, in cutscenes, or by other [interactive] props?

This is a super open-ended and broad question, so I'll give some examples:


As a player in a game with a 3rd person action RPG style camera system, I run to a ledge and press the jump button.

  1. My character is propelled upwards and then falls to the ground below.
  2. The speed at which I feel rise to the apex of my jump and the speed at which I fall to the ground are consistent with jumps I've made in other areas of the game.
  3. Everything feels grounded and consistent.
  4. Nice!

As a player in a game with a 3rd person action RPG style camera, an in-game event begins.

  1. An NPC spawns on a ledge above me and moves towards the edge. 1. They jump off the ledge, but rather than rising to the apex of their jump and falling to the ground at a consistent speed, they seem to travel more quickly or more slowly than I would as a player.
  2. The NPC appears stiff, glued to a precalculated path, their animations playing out at whatever speed will guarantee they travel from Point A to Point B in exactly 1.2 seconds.
  3. Do the physics calculations in this world not apply to them as they do to me?
  4. I feel pulled out of the world and hyper aware of the "gaminess" of what is happening on screen.
  5. Bleh.

As a player, I'm zooming around the world of Destiny 2.

  1. I'm on my sparrow, a space-magic imbued mount that has S+ tier game-feel baked in every way.
  2. My field of view changes as I speed up.
  3. I turn and opt to engage the "cornering" button which modifies the sparrow's friction in the environment.
  4. I snap around a corner and press another button to hop off my sparrow.
  5. The momentum of my action launches the sparrow into a nearby wall, and then it falls down a chasm.
  6. I'm so immersed! So present in the game world!
  7. Nice!

As a player, a new "Public Event" starts in the shared game world of Destiny 2.

  1. A "move the payload" prop appears and I hop onto the object.
  2. It's velocity immediately changes from 0 to 100 [insert units] per second.
  3. Ooof, that was a bit jarring.
  4. My field of view does not change while on the payload, despite the speed change.
  5. The payload comes up on a corner and rounds it. It does so with absolute precision, a clean 90-degree arc.
  6. There is no banking of the payload; it does not "lean into" the turn.
  7. An obstacle ahead blocks the path, and the payload stops suddenly. The velocity changes from 100 [insert units] per second to 0.
  8. There is no momentum or sense of physicality to its movements.
  9. I'm pulled from the game world and note the disparity between my actions and those of the props in the world.
  10. Yuck.

Hopefully these examples are illustrative enough to paint the picture I'm trying to communicate. With my understanding of game development systems, I imagine a lot of these disparities are due to developers needing to ensure the determinism of these systems that interact directly with the player.

The Jumping NPC

The NPC needs to spend only X number of seconds in the air, so their act of jumping off a ledge isn't calculated via the physics constants in the world but is instead calculated in a way where gameplay programmers can ensure Actor A can reliably navigate from Transform B to Transform C without unforeseen physics sandbox issues.

The Stiff Payload

Along with the needs of the above w/r/t avoid physics sandbox issues, the payload needs to arrive at each checkpoint in a fixed amount of time. It is simpler to attach the payload to a path and have it advance at a fixed speed, ensuring it arrives at the appropriate time and triggers the next set of event behaviors. The payload does not slow down if it hits a player or a physics prop; it triggers collision on other objects but is not influenced by collision itself.


This all seems to suggest that determinism is the motivating factor here.

In all honesty, my question is almost entirely answered by now, just by typing this all out, but I'd still like to pose it to anyone who may want to weigh in with anecdotes or wisdom.

My gut tells me: cost and scope are huge factors.

While the game-feel and satisfaction of interacting with systems of type A) is unparalleled (think Rockstar's Red Dead Redemption 2, or Arkane sandboxes like Dishonored / Prey), it creates an enormous soup of variables and testing edge cases. Type B) is simply cheaper to implement, more predictable and more easily reasoned about during development and QA cycles.


Jeez, anyways, this is a huge post now so I'm going to sign off on it for now.

Very much looking forward to hearing from folks who have come across these decisions themselves in their games (2D, 3D, VR, I imagine these decisions aren't unique to genre or technologies) and hope to learn more about how y'all make the choice between interactivity + emergent gameplay vs. predictability + guided experiences.

\$\endgroup\$

1 Answer 1

2
\$\begingroup\$

One cause for this that I think it is worth noting is that, in many cases, the people making the different parts of the game that you find to be clashing, are different people, using different tools.

Using your jumping example, the player physics are probably determined through procedural code that is, on some level, simulating aspects of real-world physics. The NPC jump was probably placed by someone dragging a Bézier curve around in a visual editor of some sort.

These very different ways of describing motion naturally lead to discernible disconnects, if one pays attention to the differences.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .