3ak
@3ak
New Member
Joined: Feb 14, 2024
Topics: 2 / Replies: 68
Reply
RE: Creating Effect of "Gravity" Between Objects

ok. here is modified version.i added bounce factor and add/substract acceleration depending on distance: bounce = 0.4 v = 0 G = 6.673*10.0^(-2) spher…

13 years ago
Forum
Reply
RE: Creating Effect of "Gravity" Between Objects

Hi. If you’re trying to mimic simple Newton’s law of universal gravitation then you have some problems. The first one is that your G (A in your case)…

13 years ago
Forum
Reply
RE: Align to vertex?

why do you need vertex normal at all? store (obj2.vertex.pos – obj1.vertex.pos) and then just add it to new obj1.vertex.pos am i missing something?

13 years ago
Forum
Reply
RE: Calculating distance between angled objects – my trigonometry is not correct.?

Find point coords where book2 will touch book1 as: t = (b2p1.z – b1p4.z) / (b1p3.z – b1p4.z) POINT (x,z) = [ t* (b1p4.x – b1p3.x) + b1p3.x, b2p2.z] bo…

13 years ago
Forum
Reply
RE: Calculating distance between angled objects – my trigonometry is not correct.?

Yes, but to find intersection between circle (rotation of the corner point) and line (side of the first book) we should solve quadratic equation imo. …

13 years ago
Forum
Reply
RE: Calculating distance between angled objects – my trigonometry is not correct.?

I think you could make it without trig at all. If you have all the books tilted to the left: if b1p3.z > b2p2.z then dist = (b2p2.z – b1p4.z) / (b…

13 years ago
Forum
Reply
RE: Collision Detection Algorithm

If you want something like physics sim then add something friction-like – decrease speed after collision. And you can add some random deviation to you…

13 years ago
Forum
Reply
RE: How to align a plane from 4 points?

any 3 points always form a plane, but not 4. You need to check if all of your 4 points are in the same plane and only then align your plane. possible …

13 years ago
Forum
Reply
RE: PFlow by maxscript

pf1.appendInitialActionList evt1 pf2.appendInitialActionList evt2

13 years ago
Forum
Reply
RE: PFlow by maxscript

pf1.appendInitialActionList evt1 pf2.appendInitialActionList evt2

13 years ago
Forum
Reply
RE: See the speed of a object moving? in 3ds max

let’s say your object’s name is “obj”. Then create script controller on Strength parameter of the wind and add: distance (at time currenttime $obj.pos…

13 years ago
Forum
Reply
RE: See the speed of a object moving? in 3ds max

speed is magnitude (CurrentFrame_pos – CurrentFrameMinusOne_pos)

13 years ago
Forum
Reply
RE: programming objectspace-normal mentalray shader

MatthiasBuehlmann: Hello in the middle top you see the normalpass output, with a pixel of the left wall testet (this wall is aligned to the world c…

13 years ago
Forum
Reply
RE: programming objectspace-normal mentalray shader

I know nothing about c and MR shaders programming but the logic of your shader looks right (for me)). The only thing i want to mention is your mapto01…

13 years ago
Forum
Reply
RE: how to calculate in/out tangent in tackview

What is the angle if you can zoom x and y independently, and In/Out tangent value doesn’t depend on next key position? here is the same curve but dif…

13 years ago
Forum
Page 2 / 5