#### Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

# Maths curve...

Posts: 493Member, BASIC

So i have a little issue,i really wish i'd listened more in maths class..

I need to be able to work out information on a curved graph.

• Posts: 493Member, BASIC
edited September 2017

the four green dots are the data i have.

But what i f i need to know where the graph would be at the fourth dot or 8.5 dots?!

Any help would save me from insanity & as such be greatly appreciated..

• Posts: 2,786Member, Sous Chef, PRO

Hmmm..... curve fitting in GameSalad. That would be interesting. (GS needs matrix math functions to do this.)

Or did you mean in some other app? Like Excel, or MatLab?

Or do you have the formula and you want to know how use the formula to plot the points?

• Posts: 493Member, BASIC

The graph was make quickly in my 3d program (c4d).

I'm thinking as the graph is set & won't change i can cheat.

Once the graph is made i could just make a collision object & shoot an actor vertically & when it collides is the point on the graph.

I'll make a test later today if i find time..

• Posts: 2,786Member, Sous Chef, PRO
• London, UK.Posts: 12,821Member

@smurfted said:
Once the graph is made i could just make a collision object & shoot an actor vertically & when it collides is the point on the graph.

I like brute-force methods like this, I'll often spend an age trying to think of some smart way to address a problem like this, but you can't really beat a bit of Rube Goldberg common-sense logic.