Need help with spatial geometry
#26

Could you give us your createobject lines, to lazy to look up the modelids

And the _lnx part is kind of unnecessary
Quote:
Originally Posted by Lunoxx
Посмотреть сообщение
EDIT: _lnx because I saved in this function offsets in variables.
Because you can get the offsets with Streamer_GetFloatData if I am not mistaken

Also I am wondering, isn't is just the z rotation of your crane + distance of magnet +- height?, provided the crane is on a flat surface.

Something like that?
pawn Код:
x = craze_base_x + distance_to_magnet * floatsin(-crane_z_rot, degrees);
y = craze_base_y + distance_to_magnet * floatcos(-crane_z_rot, degrees);
z = craze_arm_z - magnet_offset;
Reply


Messages In This Thread
Need help with spatial geometry - by Lunoxx - 04.02.2019, 01:28
Re: Need help with spatial geometry - by Kaliber - 04.02.2019, 08:25
Re: Need help with spatial geometry - by Lunoxx - 04.02.2019, 20:51
Re: Need help with spatial geometry - by MEGADETHS - 04.02.2019, 21:18
Re: Need help with spatial geometry - by IstuntmanI - 04.02.2019, 21:37
Re: Need help with spatial geometry - by Lunoxx - 04.02.2019, 22:05
Re: Need help with spatial geometry - by Pottus - 05.02.2019, 01:48
Re: Need help with spatial geometry - by Lunoxx - 05.02.2019, 14:00
Re: Need help with spatial geometry - by Pottus - 05.02.2019, 14:57
Re: Need help with spatial geometry - by Lunoxx - 05.02.2019, 16:08
Re: Need help with spatial geometry - by Lunoxx - 05.02.2019, 16:50
Re: Need help with spatial geometry - by Pottus - 05.02.2019, 19:04
Re: Need help with spatial geometry - by Lunoxx - 05.02.2019, 20:45
Re: Need help with spatial geometry - by Pottus - 05.02.2019, 21:26
Re: Need help with spatial geometry - by Lunoxx - 05.02.2019, 22:44
Re: Need help with spatial geometry - by Pottus - 05.02.2019, 22:48
Re: Need help with spatial geometry - by Lunoxx - 05.02.2019, 22:55
Re: Need help with spatial geometry - by Lunoxx - 06.02.2019, 16:13
Re: Need help with spatial geometry - by Lunoxx - 07.02.2019, 17:50
Re: Need help with spatial geometry - by Lunoxx - 09.02.2019, 21:35
Re: Need help with spatial geometry - by m4karow - 09.02.2019, 23:06
Re: Need help with spatial geometry - by Lunoxx - 09.02.2019, 23:38
Re: Need help with spatial geometry - by m4karow - 10.02.2019, 18:28
Re: Need help with spatial geometry - by Pottus - 10.02.2019, 20:31
Re: Need help with spatial geometry - by Lunoxx - 11.02.2019, 15:15
Re: Need help with spatial geometry - by Nero_3D - 12.02.2019, 00:45
Re: Need help with spatial geometry - by Pottus - 12.02.2019, 03:19
Re: Need help with spatial geometry - by Lunoxx - 13.02.2019, 06:02
Re: Need help with spatial geometry - by Nero_3D - 13.02.2019, 16:31
Re: Need help with spatial geometry - by Lunoxx - 13.02.2019, 22:55
Re: Need help with spatial geometry - by Nero_3D - 13.02.2019, 23:19
Re: Need help with spatial geometry - by Lunoxx - 14.02.2019, 08:24
Re: Need help with spatial geometry - by Lunoxx - 16.02.2019, 16:22
Re: Need help with spatial geometry - by Lunoxx - 19.02.2019, 07:20

Forum Jump:


Users browsing this thread: 1 Guest(s)