Skip to main content
Glama

apply_dynamics

Add rigid or soft body dynamics to 3D objects in Cinema 4D for realistic physical simulations and animations.

Instructions

Add dynamics (rigid or soft) to the specified object.

Args:
    object_name: Name of the object to apply dynamics to
    dynamics_type: Type of dynamics to apply (rigid, soft)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_nameYes
dynamics_typeYes

Implementation Reference

  • The apply_dynamics tool handler function.
    @mcp.tool()
    async def apply_dynamics(
        object_name: str, dynamics_type: str, ctx: Context = None
    ) -> str:
        """
        Add dynamics (rigid or soft) to the specified object.
    
        Args:
            object_name: Name of the object to apply dynamics to
            dynamics_type: Type of dynamics to apply (rigid, soft)
        """
        async with c4d_connection_context() as connection:
            if not connection.connected:
                return "❌ Not connected to Cinema 4D"
    
            response = send_to_c4d(
                connection,
                {
                    "command": "apply_dynamics",
                    "object_name": object_name,
                    "type": dynamics_type,
                },
            )
            return format_c4d_response(response, "apply_dynamics")

Latest Blog Posts

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/ttiimmaacc/cinema4d-mcp'

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