• Facebook Twitter Google+ Youtube Vimeo
  • Italiano English
  • [-] Diminuisci la dimensione del testo [+] Aumenta la dimensione del testo
  • 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.

Moderatori: natas, Arkimed, visualtricks, cappellaiomatto

  • Advertising

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

Messaggioda Elmehdi.abf » gio 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 ?
Elmehdi.abf
 
Messaggi: 2
Iscritto il: gio nov 05, 2015 5:19 pm

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

Messaggioda visualtricks » gio 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?
Immagine Immagine
๏_www.visualtricks.it_๏ .:: In another way, from another point of view ::. .:: COMPUTER SAYS NO ::. ↪ Ken Leeeee ↩
Avatar utente
visualtricks
Moderatore
 
Messaggi: 3514
Iscritto il: gio set 23, 2004 5:13 pm
Località: Pistoia

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

Messaggioda Elmehdi.abf » ven 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 .
Elmehdi.abf
 
Messaggi: 2
Iscritto il: gio nov 05, 2015 5:19 pm


  • Advertising

Torna a Cinema 4D

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite

Powered by DGworld CMS - Copyright ©2005-2018 DGworld