Skip to main content
Glama

Smart-AI-Bridge

sample-unity-code.csโ€ข620 B
using UnityEngine; public class PlayerController3D : MonoBehaviour { private Rigidbody rb; private Vector3 currentVelocity; private Vector3 targetVelocity; void Start() { rb = GetComponent<Rigidbody>(); } void HandleVerticalMovement() { if (Input.GetKey(KeyCode.Space)) { float t = 10.0f; Vector3 lerpedVelocity = Vector3.Lerp(currentVelocity, targetVelocity, t); rb.velocity = new Vector3(rb.velocity.x, lerpedVelocity.y, rb.velocity.z); rb.AddForce(Vector3.down * 5f, ForceMode.Acceleration); } } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Platano78/Smart-AI-Bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server