Skip to main content
Discovery icon for GDevelop Discord server

GDevelop

3,161 Online
24,596 Members
# general6 people

3D raycast vehicle physics offsets

Accurate vehicle physics in 3D require calculating exact model offsets and converting local wheel coordinates to world space for raycasts.

  • Precise decimal offsets from the car center to wheel centers prevent vehicle physics from feeling unstable
  • Trigonometric functions using sine and cosine account for vehicle rotation across all axes using exact model dimensions
  • The 3D raycast extension operates on world axes rather than local axes, requiring manual coordinate translation for single-mesh models
Summarized from recent messages, might be inaccurate

More conversations

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App