Quantcast
Channel: Physics Engine Question
Browsing latest articles
Browse All 14 View Live

Physics Engine Question

cool! thx so much! that solved it for me!Live for nothing, OR CODE FOR SOMETHING!

View Article



Physics Engine Question

OK, for a box the centroid is the average of the corner coordinates, which is the same as the position of the box centre used by Shapes.Rotate.  They are the same thing for a circle or rectangle so use...

View Article

Physics Engine Question

i think i wasnt clear. im gonna use a rectangle for this example. a rectangle has 4 corners, wich we'll use for collision detection. -Do the positions of the corners have to be based on the position of...

View Article

Physics Engine Question

The movement of the shape is controlled by the position of the top left coordinate of the shape bounding box.  To move the shape we use Shapes.Move and give it the top left coordinate.  The shape can...

View Article

Physics Engine Question

thx! but i still dont get if i have to move the corners around the box_x and box_y or if i have to take the centroid of the corners and move the corners without any box_x and box_y..Live for nothing,...

View Article


Physics Engine Question

In the real world, it is the corners of the triangle (and it edges) that inteact, so you should use these.  As you can see from above, the way SB handles triangle rotation and movement is through its...

View Article

Physics Engine Question

If you are interested, I had a play rotating a triangle about its centroid and discovered that the bounding box (used for the Shapes.Rotate ) is larger than the specified triangle due to the pen...

View Article

Physics Engine Question

If you are interested, I had a play rotating a triangle about its centroid and discovered that the bounding box (used for the Shapes.Rotate ) is larger than the specified triangle due to the pen...

View Article


Physics Engine Question

A very pointy triangle does also have its centre of mass at the centroid of the triangle - this will be different to the centre of rotation assumed by SmallBasic, since SmallBasic sets the centre at...

View Article


Physics Engine Question

thx! i see... but when i have a very pointy triangle for example, the centroid cant be the centre of mass...Live for nothing, OR CODE FOR SOMETHING!

View Article

Physics Engine Question

The centre of mass of a triangle is at the centroid (average of coordinates).  This will also be OK for rectangular and ellipse shape images (i.e. just the centre you use for moving the shape). This...

View Article

Physics Engine Question

The usual method is to take the centre of mass of the object as the general reference point for position, velocity, acceleration, forces, etc. The actual shape of the object is used for the collision...

View Article

Physics Engine Question

The usual method is to take the centre of mass of the object as the general reference point for position, velocity, acceleration, forces, etc. The actual shape of the object is used for the collision...

View Article


Physics Engine Question

hi there! its me again! i want to try to code a small physics engine. but i need to know the following. lets use a shape of a box for this example. for the movement, do i need to work with the centroid...

View Article
Browsing latest articles
Browse All 14 View Live




Latest Images