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: 298

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: Sub-Axle (Explained).
Rating: 5
Filesize: 40.37 kB
Downloads: 394
Comments: 1
Ratings: 1
Date added: 2020/08/22 22:24:12
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: axle reversing patterns
Rating: 5
Filesize: 14.32 kB
Downloads: 360
Comments: 2
Ratings: 1
Date added: 2020/05/23 16:10:22
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: 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: 441
Comments: 0
Ratings: 1
Date added: 2015/12/09 08:24:10
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: searchlight test (Sine Axle motion script avaliable!)
Rating: 5
Filesize: 78.51 kB
Downloads: 3242
Comments: 2
Ratings: 1
Date added: 2025/01/25 01:18:00
Made with: Algodoo v2.2.3
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: