Jump to content

jed

Limited Member
  • Posts

    2,189
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by jed

  1. jed

    Pinball bumper

    I'd have the bumper hidden, so the increase in size isn't apparent. This file uses a condition node with 2 radii, 0 or 1 passes the value on the input ports. bumper2.c4d here's one I made a few years ago - don't ask how it works, I've forgotten even though I left myself notes 😀 The sounds should be embedded and (on Windows) CTRL and ALT work the flippers - pinball.c4d needs a fairly fast pc + decent gfx, but turning off shadows might help in that respect.
  2. Because it just iterates through the list, you can add or remove objects without having to re-write the XPresso.
  3. @Jops you can just use 1 memory node + iteration position_delay 2.c4d has sliders 😀
  4. Thanks for the comment @IgorI'll have a think about videos. BTW I used this delay effector idea from Tim at HelloLuxx to make the platform/spring go boing I added a condition so it only went boing at the top 😀
  5. More toy cars adventures. This one has a spring....
  6. It's quite easy - I've made quite a few scenes with detailed dynamic cars + trucks. My method for real cars is to have a proxy dynamic car made from primitives and make the real wheels children of the cylinders (same size and location), the body just has to be a cube of approx size. The real car parts just come along for the ride, just use the traffic lights for hide reveal. If you apply dynamic tags to hi poly stuff it runs very slow in the viewport, so is hard to setup. A proxy car runs fast, and you can re-use the rig. Here's a dynamic Mini with manual XPresso steering - has a switch to see the hidden proxy car. https://www.dropbox.com/s/uf22aqwe11gkzxz/redmini.zip?dl=1 The toy car follows a target on a spline, and has a null pointing at the target to get steering. Distance to target controls the motors. The speed of the target is done by addition and varies for different parts of the scene, so there's a python lookup table - loop the loop needs to go fast etc. one car.c4d the toy car crashes sometimes, but that's part of the fun. I had several attempts at baking 3 toy cars before I got a scene with no crashes. Creative Commons Mini in DropBox file from http://www.oyonale.com/accueil.php?lang=en
  7. Dynamic cars is my fav part of C4D.
  8. jed

    Constant Random Number

    @Havealot neat use of seed to stop the value changing every frame.
  9. jed

    Constant Random Number

    Is this happening during animation ? If so, you could use a memory node to compare current value to value on previous frame and unfreeze the random number if different. the data change should be step freeze2.c4d
  10. Sounds like iteration - which is basically going through a list of objects and applying similar math to each sequentially. Since your objects are under a null, you can use a hierarchy node and point it at the parent null. The hierarchy null outputs each object once per frame and you use a specimen object and connect its object port. The specimen object 'becomes' each object in turn. In this file I used noise and the object's index to give a different noise seed to each sphere. I'm not sure what exact rotation you want, but the principle's the same. xp turn.c4d There's probably a better mograph or fields method, but you asked for XPresso 😀
  11. Looping is quite hard in XPresso - need to use python. In this file I calculated the gap and positioned each text word at previous position + previous height + gap words align gap.c4d time to read up on Python lists 😀
  12. I usually drag the field onto the node
  13. You'd think the code to drive these two would be 0 = off, 1 = on but it's actually 0 = on 1 = off, 2 = default
  14. You could use memory node to get previous position, and compare it to show/hide 2 arrows. piston.c4d
  15. I got the idea of using a sine wave as a ball lift from a YouTube video by Prof Lathwaite
  16. Files > recent files should show the path to recently used files. I have several hard drives and c4d files going back years, so I often lose stuff. I use the free UltraSearch to find files. You can look for folders or files (or both) by name or partial name. If I'm really stuck I search for *.c4d (with all drives checked). This finds all C4D files, then I click to sort by date to find the most recent. https://www.jam-software.com/ultrasearch BTW - this is for Windows.
  17. jed

    Xpresso Increment Node

    You mean this pie ? re @noseman and pi degrees are defined as 1/360 of a full rotation, but radians are defined by the arc radius malarkey - not by the division of a circle, so radian does not "include pi". The reason 360 deg = 2 pi radian is due to the definition of pi ie C = 2 pi R. ...changes username to Mr Pedantic...
  18. jed

    Xpresso Increment Node

    @noseman I've actually seen solutions to the car wheel problem using the degree node twice, and bringing 360 into things 😁 For any radian noobs - a radian is the angle at the centre of a circle when the arc equals the radius. In this pic the red X is distance travelled by the car. Solving for A gives angle = distance / radius pi is defined by circumference = 2 pi R, but since we are not bothered about complete wheel rotations, pi doesn't really come into this calculation. Radian does not 'include' pi IMHO.
  19. jed

    Xpresso Increment Node

    Interesting use of Tracer @noseman - no need to use pi twice though...
  20. jed

    Xpresso Increment Node

    You can add incrementally by reading the current rotation value and adding to it every frame wheel.c4d distance is always positive, so only works for the car going forwards. There's some clever code written by Base 80 that allows for forward and reverse. You make your wheel a child of the Base80 wheel eg wheel2.c4d BaseWheel1.7.c4d adjust the Base80 wheel to same radius as the real wheel. Only move Base80 wheel by parent null.
  21. The problem for anyone starting out wtih C4D Python is that the MAXON Python site is IMHO very complex and intimidating (maybe I should be generous and say 'very thorough' 😀 ), whilst most YouTube Python tutorials are about Python in general - not relating to C4D. Cairyn's series of blogs fills the gap between those 2 extremes, in that it's about learning to use Python in C4D. I've just read the 1st 8 posts and I'd say it's a good place to start for C4D users with no coding experience. Recommended.
  22. jed

    Lego Plug-in

    I think this is the d/l link leads to this DropBox there's a lib4d file and csc file, but I'm not sure what the csc is for. Google translate
  23. Swap that object node for a math add, and keyframe the amount added. You can tweak the slope etc in dopesheet. I'm not sure what the object node is supposed to do...
×
×
  • Create New...