Recent content by Xcrypt

  1. X

    Friction acting on a ball (2D)

    Thanks :)
  2. X

    Friction acting on a ball (2D)

    So, basically, you're saying that due to deformation, the contactNormal I "estimate" in my code is not correct. In reality it would be in a different direction? But then, is it really friction that stops a ball? This would mean it's actually the collision force (along normal) stopping the ball...
  3. X

    Friction acting on a ball (2D)

    Hello, I am a coder trying to build a game 2D rigid body physics engine. So far I am working with an impulse-based approach and all is going pretty decent. Everything does it's job, except one thing: friction acting on a rolling ball. First I will explain how my collision resolution system...
  4. X

    Applying forces to a body, outside it's center of mass.

    Don't worry, I'm not saying physicists are wrong :) But I still need clarification for the situation with the pen on my finger! In the case where I apply a force with one finger only, where is the other force coming from that would create a zero net linear force?
  5. X

    Applying forces to a body, outside it's center of mass.

    Well my question was not really whether I was correct or not. I even stated that I'm most likely wrong. The question is why. Please read my question. I can spin a pen on one finger (by pushing it with one finger only), without changing any visually noticeable change in linear velocity. However...
  6. X

    Applying forces to a body, outside it's center of mass.

    Hello. I'm currently coding on a physics engine. To do so, I looked up some code from open-source engines. I noted that there is a function where you can apply a force to a rigid body, outside it's center of mass. It goes something like this: ApplyForceAPosition(vector force, vector...
  7. X

    How to control a graph of f(x) = y

    I think so, yes. Thanks
  8. X

    How to control a graph of f(x) = y

    I'm not sure what a bounded subset is, but I certainly don't want an asymptote. The problem is slightly ill defined because I don't have much knowledge about calc + I'm not used to expressing math terms in English. But I hope you can get a 'feel' for what I want to achieve? Anyway, I solved the...
  9. X

    How to control a graph of f(x) = y

    update: I've found a 2nd degree polynomial that goes through 3 points. x=0.0, y=1.0 x=0.3, y=0.3 x=1.0, y=0.0 Solved: ((40/21)*((x)^(2)))-((61/21)*(x))+1 (check http://www.freemathhelp.com/equation-grapher.html ) But this is not what I want because it's going under the x-axis instead of...
  10. X

    How to control a graph of f(x) = y

    Thanks, Robert1986 and chiro :)
  11. X

    How to control a graph of f(x) = y

    Thanks, just the techniques would do, the code (should) come naturally when you understand the techniques :) Are these techniques you are naming covered in a calculus book? I have heard many of them by name, but I haven't looked into them yet
  12. X

    How to control a graph of f(x) = y

    Well, please go on then :)
  13. X

    How to control a graph of f(x) = y

    I'm programming a camera for a game, and to achieve some effect I think the best solution would be some kind of function. What I need to achieve, is a function that: - 'starts' at x1, with a y value of y1. - 'ends' at x2, with a y value of y2. - I also need some parameter to control the...
  14. X

    How to define acos in relation to cos?

    Although you probably have way more experience than me in mathematics, I find your answer hard to believe... Since acos is an inverse function of cos, they must be related in some way? If not, you just turned my whole mathematical beliefs upside down!
  15. X

    Geometry: problem with defining the vertices of a tunnel around a given path

    I'm trying to create some kind of demo that rushes through a tunnel. I have made a random path generator that creates smooth looking paths in 3D space (just some 3D points) Now I would like to create polies that form a tunnel around that path. To give an example, let us assume that the path...
Back
Top