• Facebook Twitter Google+ Youtube Vimeo
  • Italiano English
  • [-] Make text more little [+] Make text more bigger
  • Feed RSS 2.0 Feed ATOM 1.0


Animating objects using script C.O.F.F.E.E.

Forum for: Modelling, Texturing, Animation, Composting and the whole general usage of Cinema4D.

Moderators: natas, Arkimed, visualtricks, cappellaiomatto

  • Advertising

Animating objects using script C.O.F.F.E.E.

Postby Elmehdi.abf » Thu Nov 05, 2015 5:30 pm

Hi everyone,
I am working on a project in cinema 4D, my problem is :
I want to animate an object by giving a value for one of its coordinations (coordination X for exemple) in a script and when i hit play the object schould be moving from its position to the following Value entred in the script .. i made an exemple and the problem was when i entred the value for X the object moves instantly to that value without animation .. any idea how to make it out ?
Posts: 2
Joined: Thu Nov 05, 2015 5:19 pm

Re: Animating objects using script C.O.F.F.E.E.

Postby visualtricks » Thu Nov 05, 2015 9:38 pm

Hi, that's not as simple as it may seems...you can't just tell an object to be here at frame 0 and there at frame 50 and have it to actually move between the two places. You have to instruct the object to increment its position over time, otherwise it can only "jump" to the new position. If you have the starting/ending position and the duration of movement, you should be able to figure out the increment that needs to be done every frame.
Can I ask you what you need this for, or more details on whats the goal?
Image Image
๏_www.visualtricks.it_๏ .:: In another way, from another point of view ::. .:: COMPUTER SAYS NO ::. ↪ Ken Leeeee ↩
User avatar
Posts: 3514
Joined: Thu Sep 23, 2004 5:13 pm
Location: Pistoia

Re: Animating objects using script C.O.F.F.E.E.

Postby Elmehdi.abf » Fri Nov 06, 2015 4:33 am

Hi, thank you for being intrested in my question..
The way you get it is exactly what i want for my project .. the project is about a CNC MILLING machine assembled in cinema 4D, the purpose for the project is that I want to give a value for the head of the tool that the machine use so the Tool should be moving from one point to another incrementing the position to creat a sort of an animation .
Posts: 2
Joined: Thu Nov 05, 2015 5:19 pm

  • Advertising

Return to Cinema 4D

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by DGworld CMS - Copyright ©2005-2018 DGworld