Jump to content

jed

Limited Member
  • Posts

    2,189
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by jed

  1. Here's my attempt I used formula spline to get the parabola and spline wrap blade2.c4d
  2. Is the random value created when the timeline is running, or is this more of a setting up a scene thing ? If you unpack the random integer preset, it looks a bit like this The random node can be free or time (it's set to time in the preset). Time gives a new random real in the range -1 > +1 every frame which is range mapped to the lo + hi settings. You need to add 1 because integer conversion rounds down (else you'd never get the highest value). Time gives a predetermined sequence based on the seed, Free gives a different sequence, new value every frame and also if you click in the viewport (or keep resetting F to 0). So - more info needed.
  3. This file generates a random integer in range 0-6 every 10F random integer.c4d might get you started 😀
  4. With the python version, if you check frame dependent the code is only evaluated once per frame
  5. jed

    6 ellipses

    That's the weird thing - the motor is always on. My reasoning is that due to the hinge to gear contact point distance and the hinge to center of gravity distance, the motor does not have enough torque to move the 2nd cog in certain positions, and ditto with cog to cog transfer of angular momentum. It's a bit like why a door handle is at the outside door edge and not near the hinges. I think that's why the gears line up after being rotated. In this version I've turned the motor off and used a falling cube to give the 1st gear an impulse. 6 ellipses.c4d
  6. 6 dynamic elliptical gears with a hinge at the focus. Leftmost ellipse has an angular force (motor), others are passive. What do you think will happen ? Not what I expected 😀
  7. @Cerberain the BIOS, TPM also goes under the names of PTT (platform trust technology) on Intel and fTPM on AMD Ryzen.
  8. Baking the scene seems to fix the lag. Spline dynamics can be left on default.
  9. You were trying to extrude along the spline instead of at right angles, creating overlap extrude is x y z, you used z but should have used x
  10. If a dynamic body has not been subject to a force, collision etc for about 2 seconds it ceases to be dynamic. The workaround is to set linear and angular threshold to 0 in the dynamic tag. In normal use, the threshold comes into play to stop dropped coins etc from spinning forever. When the coin velocity drops below the threshold the coin stops moving.
  11. jed

    Animated Text

    Formula effector ? formula.c4d
  12. Try key framing limit from end on the thick sweep tracer. from end.c4d
  13. Non-circular gears are weird...
  14. Here's a simple sine solution. fish2.c4d
  15. @LightCacherI came up with a method that doesn't need the cloner to be made editable. You might have to refresh/click the viewport to get the number sequence to show. zfill2.c4d
  16. The trick to getting a level out of a sound effector is to add a falloff field. The field doesn't really do anything, so can just be linear. audio-cylinder.c4d
  17. Random in Python is based on a seed value (same as C4D). When no seed is specified it is based on system time so is different every run - but you can specify a seed to get repeatable sets of numbers. Insert this in the code def main(): global lister # persists to next frame random.seed(100) frame = doc.GetTime().GetFrame(doc.GetFps()) # get current frame Can be any number. Don't forget to click compile 😀 As for #2 - if you put something like this at the end of the list generation part for c in range(100): random.shuffle(lister[c]) # else in order lo - hi lister[20] = [1,1,1,1] it will overwrite the 20th set of numbers with your chosen values. Count starts at 0 . You could have several lines. Let me know if this works.
  18. Some ideas for you. I used letters as the objects and made a random list on frame 0 (checking for duplications). Makes new set every 10F. Uses a while loop which can be a problem in C4D - if there's any errors it locks up needing a hard reset and you lose all your work. Be cautious when tinkering with the code. cafe rnd5.c4d
  19. I gave the sphere a bit of help by range mapping the counterbalance weight against sphere position and delayed this (memory node) which made the sphere pause slightly at each end of the channel. Also, there's a lot of damping. Recently I've been getting music for videos from YouTube's copyright-free section, Audio Library — Music for content creators - YouTube
×
×
  • Create New...

Copyright Core 4D © 2023 Powered by Invision Community