Jump to content
Hash, Inc. - Animation:Master

robcat2075

Hash Fellow
  • Posts

    27,734
  • Joined

  • Last visited

  • Days Won

    339

Everything posted by robcat2075

  1. You're welcome! It was a brain teaser. I've been thinking about that all day.
  2. The bone follows the target until the target exceeds 20cm from the center. RadiusConstraint002.prj Radius_1500.mp4
  3. My second guess is that a Translate limits constraint might be used A Translate LImits constraint can restrict motion to a rectangular space of X Y and Z dimensions. If two of those dimension were zero the object would be restricted to a line segment along the third dimention If that line segment were riding on a bone that is Aim At constrained to the target then the line segment could cover any point within the radius.
  4. Hmmm... my first guess is an expression. It would test the current distance of the bone from the target with Pythagorean math... IF the distance is less than or equal to the constraint radius, the current values are used. IF the distance is greater than the constraint radius, the current distance is scaled to equal the radius. Much depends on which bone is the source of motion.
  5. Thanks! After a Windows update and a reboot, it's back for me too. It's Christmas miracle!
  6. It used to be possible to click on the View Setting at the lower right corner of the interface and get this dialog... But now it doesn't work. And it doesn't work in previous versions of A:M either, although it did in the past. Does this happen for anyone else?
  7. Here are waves made with SimCloth, with input on one side. It could have input on two sides, I suppose. (full screen it) waves5000.mp4 But you want the waves to break and splash on the shore?
  8. I'm still not sure what you want. Do you want the wave to change direction or do you just want it to go diagonally on the rectangle?
  9. Not rendering. Real-time view. What you see when A:M is just sitting there displaying shaded mode.
  10. Load SpriteAndCookieTest001.prj SpriteTest.zip How do the sprites appear in the real-time shaded view? Are they arrows or squares? How does the patch on the right appear? Arrow? Blank? Red square? Does switching Tools>Options>Global>Real-time Driver change anything? SpriteTest.zip
  11. Good-looking scene, Gerald!
  12. The switch structure simplifies situations that might be done with an if and many else ifs but only consider an integer value to decide which else if to do. sample project Golf scores are integers, so are the "par" values for the holes. A player's score on a hole can be just a number but it is often described by how many strokes above or below par it was. Also, there are names for each specific above or below possibility Write a program that prompts the user to input a par for a hole and the players number of strokes on that hole. Output par for the hole, the player's strokes, how many strokes above or below par he was and the golf word for that accomplishment (for up to 3 above or below par). Sample outputs: Golf Jargon! Enter your score for the hole: 5 Enter the par for the hole: 6 Your score was 5 Par for the hole was 6 You were 1 stroke(s) below par. You played a birdie Golf Jargon! Enter your score for the hole: 7 Enter the par for the hole: 6 Your score was 7 Par for the hole was 6 You were 1 stroke(s) above par. You played a bogey.
  13. At the Dec 2 2023 Live Answer Time we reviewed the basics of flattening a face, applying a decal and painting the decal. The animation we watched at the end of the session is omitted for copyright reasons, but can be found here. @Pizza Time @Roger @Shelton
  14. Welcome back, Rich! It would be cool to see some of your A:M -> 3D prints!
  15. https://forums.hash.com/topic/47449-live-answer-time-saturdays-noon-cst/
  16. Could you show an example of what you are working on? This would also be a good Live Answer Time question if you can make it.
  17. @Madfox I wasn't certain from your description if you got what you wanted. Are you wanting smoother wave motion like this? waveTest1500.mp4
  18. Sorry to hear about the job dislocation, Paul! No recourse about that signed contract? Ouch!
  19. It wouldn't be hard to memorize the sizes of standard data types and hard code those when programs needed to use them. But part of the power of C++ is that you will be able to create your own data types... and make arrays of them, which could be any length. sizeof() helps you to bullet proof your code so that even if you change the size of your data type or the length of an array, your code can still operate on them without over-running or under-running the total data. project. Write a program that declares an array of strings without specifying a specific number of elements and initializes the elements with a set of data in that same declaration line. Report the size of the array in bytes, the size of an element in bytes, and the number of elements Print out all the array elements For example if the data in the declaration were: aardvark bat cat dingo eel The program output would be... Report on Array! The array is 200 bytes in size. One element is 40 bytes long. The array has 5 elements. 0 aardvark 1 bat 2 cat 3 dingo 4 ferret End of report. If the initialization data in the declaration line were changed to a different number of values: mockingbird narwhal owl parrot quail serpent tapir ...the program should need no other modification to correctly report... Report on Array! The array is 280 bytes in size. One element is 40 bytes long. The array has 7 elements. 0 mockingbird 1 narwhal 2 owl 3 parrot 4 quail 5 serpent 6 tapir End of report.
  20. Here is a modest new best for my machine, after trying some overclocking... 49 seconds.
  21. He's out for a jog... elephantrun007 tilt.prj Run000.mp4
×
×
  • Create New...