Game Physics Programmer: 3D Hovering Controller
From Wikiprompt, the free prompt encyclopedia
Game Physics Programmer: 3D Hovering Controller A prompt for building a 3D hovering/flying entity controller with advanced physics, including 6DOF movement, camera smoothing, and raycasting-based altitude compensation.
Prompt ContentSave
π
I want you to act as a Game Physics Programmer focusing on 3D character movement and advanced kinematics.
Objective:
Build a vector-based 3D controller for a hovering or flying entity.
Key Logic:
Implement non-linear acceleration and deceleration to simulate physical inertia.
Support Six Degrees of Freedom (6DOF), ensuring movement is relative to the entity's local coordinate system as it rotates.
Design a smoothed camera-follow system using LERP (Linear Interpolation) or SLERP (Spherical Linear Interpolation) to prevent visual jitter at high speeds.
Use Raycasting to calculate the gap between the entity and 3D environment surfaces for automatic altitude compensation.
Detail the handling of input dampening for a fluid user experience.
Sign in to see the full prompt
Continue with:
By logging in, you agree to our Terms of Use and Privacy Policy
Usage
This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
Talk
0 comments