I am rebuilding Bowmar's measurer_tool DA (tutorial from the visulab site) so that it works on the sop-level. I am using the following expression in the textnodes to get the length/measure of two points (two add sops)
`distance(point(“/obj/model/add1”, 1, “P”, 0), point(“/obj/model/add1”, 1, “P”, 1), point(“/ob/model/add1”, 1, “P”, 2), point(“/obj/model/add2”, 1, “P”, 0), point(“/obj/model/add2”, 1, “P”, 1), point(“/ob/model/add2”, 1, “P”, 2))`
When changing the value of the x and y coordinates the text updates nicely but when changing the z coordinate nothing happens?
Bug in distance expression?
2914 2 0- Pagefan
- Member
- 519 posts
- Joined:
- Offline
- wolfwood
- Member
- 4262 posts
- Joined: July 2005
- Offline
`distance(point(“/obj/model/add1”, 1, “P”, 0), point(“/obj/model/add1”, 1, “P”, 1), point(“/ob/model/add1”, 1, “P”, 2), point(“/obj/model/add2”, 1, “P”, 0), point(“/obj/model/add2”, 1, “P”, 1), point(“/ob/model/add2”, 1, “P”, 2))`
Change /ob/model/add to /obj/model/add
Change /ob/model/add to /obj/model/add
if(coffees<2,round(float),float)
- Pagefan
- Member
- 519 posts
- Joined:
- Offline
-
- Quick Links