1

Is there an automated way to visualize a mesh object's position during a (rigid body) simulation? I have six spheres rolling a circular track, passing predefined points. I would like to show their position (textually somewhere in the viewport, 1,2,3..etc.) when those spheres pass those points. Is that possible in Blender, for example with Python? Or only possible to do this manually?

Bram van Vliet
  • 485
  • 6
  • 15

2 Answers2

2

You definitely can use Python, but setting text data requires elevated privileges (enable script autoexecution, with security considerations I mention here) - it's clunky…

A modern (3.0) alternative is Geometry Nodes:

You could even do something fancy using Simulation Nodes in Blender 3.6:

If you want to use Python, you will find examples here:

Non-wrapping rigid body rotations?

Markus von Broady
  • 36,563
  • 3
  • 30
  • 99
0

Open motion paths section in object data:

enter image description here

You can select different frame range, by default it is scene frame range.

Then it's done, click calculate button, you will see a path like this:

enter image description here

Different options are available in Display subpannel:

enter image description here

Crantisz
  • 35,244
  • 2
  • 37
  • 89