Skip to main content
Discovery icon for GDevelop Discord server

GDevelop

1,986 Online
24,572 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

general

transitioning to GDevelop without coding

general

game art and physics implementations

big-game-jam

early GDevelop 3D development workarounds

english-help

fixing horizontal dash direction bugs

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