Bug 5039 - buildables are initialized with the wrong normal vector
Status: RESOLVED FIXED
Alias: None
Product: Tremulous
Classification: Unclassified
Component: Misc
Version: SVN HEAD
Hardware: All All
: P3 normal
Assignee: Tim Angus
QA Contact: Tremulous Bugs
URL:
Depends on:
Blocks: 5040
 
Reported: 2011-06-14 02:53 EDT by /dev/humancontroller
Modified: 2011-08-07 18:56:35 EDT
1 user (show)

See Also:


Attachments
use the correct buildable normal vector when building (6.05 KB, patch)
2011-06-14 03:02 EDT, /dev/humancontroller

Description /dev/humancontroller 2011-06-14 02:53:45 EDT
during building, the normal vector of the player (as opposed to the normal vector of the surface on which the buildable is being placed) is used as the buildable's normal vector. due to the wrong vector, eggs can self-destruct when they wrongly find that the spawning area is blocked by the world. fortunately, this bug only shows itself when instant building is enabled; otherwise the normal vector of the buildable is shortly corrected (before the buildable is finished).
Comment 1 /dev/humancontroller 2011-06-14 03:02:13 EDT
Created attachment 2777 [details]
use the correct buildable normal vector when building

G_CanBuild() now provides the surface's normal vector.
Comment 2 Chris "Lakitu7" Schwarz 2011-08-07 18:56:35 EDT
In at r2242, thanks.