Anonymous Login
2021-10-24 20:18 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001908OpenClonkEngine - C4Scriptpublic2017-04-29 12:46
Assigned ToIsilkor 
Product Versiongit master 
Target Versiongit masterFixed in Version 
Summary0001908: Trans_Rotate(1) crashes
DescriptionJust enter this into the editor mode command line and observe.
TagsNo tags attached.
Attached Files




Clonkonaut (developer)

The function crashes in any case when you omit (or zero) all three dimension parameters.

E.g. Trans_Rotate(90, 0,0,0)


Armin (reporter)

Should be enough:


Zapper (developer)

Last edited: 2017-04-27 13:20

View 2 revisions

@Armin I think Trans_Rotate returning a boolean is a defect. Ideally, it should warn/error and return something that still works (as in: does not throw another error) when chaining it in e.g. Trans_Mult.

PS: Why does that even compile without warnings?


occ (reporter)

Hi! There's been a check-in that references this bug. For more information you can visit the repository browser at this address:

Changeset 33a0b41 by Nicolas Hake <>
Trans_Rotate: disallow rotation around null vector (0001908)

Trans_Rotate will now raise at runtime if the user tries to generate a
rotation matrix around a null vector instead of crashing with #DE.


-Issue History
Date Modified Username Field Change
2017-04-21 17:04 Maikel New Issue
2017-04-25 08:58 Clonkonaut Status new => acknowledged
2017-04-25 08:58 Clonkonaut Note Added: 0005664
2017-04-27 12:30 Armin Note Added: 0005667
2017-04-27 13:17 Zapper Note Added: 0005668
2017-04-27 13:20 Zapper Note Edited: 0005668 View Revisions
2017-04-29 12:45 occ Note Added: 0005669
2017-04-29 12:46 Isilkor Assigned To => Isilkor
2017-04-29 12:46 Isilkor Status acknowledged => resolved
2017-04-29 12:46 Isilkor Resolution open => fixed
+Issue History