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
| Name | Required | Description | Default |
|---|---|---|---|
| object_name | Yes | ||
| dynamics_type | Yes |
Implementation Reference
- src/cinema4d_mcp/server.py:860-883 (handler)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")