Browse Search Popular Register Upload Rules User list Login:
Search:
Axle's Pos

Image:
screenshot of the scene

Author: lololoer

Group: Default

Filesize: 20.85 kB

Date added: 2013-12-23

Rating: 5

Downloads: 332

Views: 296

Comments: 2

Ratings: 1

Times favored: 0

Made with: Algodoo before v1.8.5

Tags:

Scene tag

This is only an advice for you if you need to know an axle's pos in any scene:

_Pos =

{
r := readable(owner);
(r.geom1pos + r.geom0pos) / 2
}
Please log in to rate this scene
edit
Similar scenes
Title: AxleSuspension?
Rating: 5
Filesize: 53.84 kB
Downloads: 378
Comments: 2
Ratings: 1
Date added: 2014/10/01 20:00:02
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Poseable Ragdoll
Rating: 6.1111
Filesize: 51.77 kB
Downloads: 1496
Comments: 1
Ratings: 3
Date added: 2012/12/08 19:47:17
Made with: Algodoo v2.1.0
Rating: rated 6.1
download
Title: Unflexible axle
Rating: 5
Filesize: 22.62 kB
Downloads: 326
Comments: 0
Ratings: 1
Date added: 2025/05/24 05:05:24
Made with: Algodoo v2.2.3
Rating: rated 5
download
Title: how to do axle suspension
Rating: 5
Filesize: 1.24 MB
Downloads: 589
Comments: 5
Ratings: 1
Date added: 2020/03/13 03:53:13
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Strong custom axle & joint
Rating: 5
Filesize: 35.94 kB
Downloads: 312
Comments: 0
Ratings: 1
Date added: 2025/05/14 12:11:13
Made with: Algodoo v2.2.3
Rating: rated 5
download
Title: Faster than light
Rating: 5
Filesize: 6.53 kB
Downloads: 440
Comments: 0
Ratings: 1
Date added: 2015/12/09 08:24:10
Made with: Algodoo v2.1.0
Rating: rated 5
download
Your formula only works for one case. The following works for all cases:

hinge := (readable(owner));
hinge.geom1 == 0 ? {
_hingeAbsolutePos = hinge.geom1pos
} : {
g1 := (entitybygeomid(hinge.geom1));
r = math.vec.dist([0, 0], hinge.geom1pos);
a = math.atan2(hinge.geom1pos(1), hinge.geom1pos(0));
_hingeAbsolutePos = g1.pos + [r * cos(g1.angle + a), r * sin(g1.angle + a)]
}
Last edited at 2013/12/24 10:06:57 by s_noonan
Thankyou ill try it :tup: