to setup
clear-all
create-points 1 [ setxyz 1 2 3 set size 5 set color red]
ask point 0 [ hatch-points 1 ]
create-points 1 [ setxyz -2 -3 -4 set size 5 set color green]
ask point 2 [ hatch-points 1 ]
ask points [ show zcor ]
wait 20
ask point 3 [ setxyz -2 -3 -4 ]
end
Hi Charles and Steve,
I tried your code and did not see the bug.
I made models using a version of your code in which the hatcher is a dot, and the hatchee is a larger circle.
The dots seem to always be in the circles. I have orbited and zoomed.
Could you let me know if you get the bug with these models?
If so I will find a Windows machine for testing.
Aaron
--
Aaron Brandes, Software Developer
Center for Connected Learning and Computer-Based Modeling
From: <netlog...@googlegroups.com> on behalf of Steve Scott <steves...@gmail.com>
Date: Wednesday, March 4, 2020 at 11:59 AM
To: Charles <csta...@smith.edu>
Cc: netlogo-devel <netlog...@googlegroups.com>
Subject: Re: [netlogo-devel] Re: NetLogo-3d bug in hatch?
I am running 6.1.1 on Windows. See attached to recreate bug.
breed [walkers walker]
breed [points point]
to go
ca
reset-ticks
ask patch 0 0 10
[
sprout-walkers 1
]
while [ticks < 50] [
ask walkers [
rt random 30
tilt-up random 10 - 5
forward 1
hatch-points 1 []
]
tick
]
end
To view this discussion on the web visit
https://groups.google.com/d/msgid/netlogo-devel/CA%2BM9PAPmNaxrSEddr7feZyz9o10MRN2Vyn7qZGU9%3DESOVn2g3w%40mail.gmail.com.
Hi Charles and Scott,
Thanks for following up.
I have created an issue for this bug
hatched turtle in 3D does not have zcor of parent #1822
It appears that the bug only occurs when the hatched turtle is not given commands. That explains why my version did not reproduce the bug.
The problem also goes away when optimization is turned off, because optimization runs specialized code in the no commands case.
To view this discussion on the web visit
https://groups.google.com/d/msgid/netlogo-devel/CAPmR7uyb-Fks2W8mBh0_zG4Y%3DbkFY2eT9tPvFwfHM57qQvZ2%2BQ%40mail.gmail.com.
> To unsubscribe from this group and stop receiving emails from it, send an email to netlog...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/3d8dc3e7-c6f9-4e5d-80ba-60f29375e3bf%40googlegroups.com.
--
From the personal email account of Steve Scott.
--
You received this message because you are subscribed to the Google Groups "netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netlog...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/CA%2BM9PAPmNaxrSEddr7feZyz9o10MRN2Vyn7qZGU9%3DESOVn2g3w%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netlog...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/CAPmR7uyb-Fks2W8mBh0_zG4Y%3DbkFY2eT9tPvFwfHM57qQvZ2%2BQ%40mail.gmail.com.