mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-23 02:42:39 +01:00
Fixed Collision model orientations
This commit is contained in:
parent
9edd196bae
commit
dfb3ce0d74
@ -152,7 +152,7 @@ bool GTAEngine::placeItems(const std::string& name)
|
||||
msta->setWorldTransform(btTransform(
|
||||
btQuaternion(
|
||||
inst.rotX, inst.rotY, inst.rotZ, inst.rotW
|
||||
),
|
||||
).inverse(),
|
||||
btVector3(
|
||||
inst.posX, inst.posY, inst.posZ
|
||||
)
|
||||
|
@ -320,7 +320,7 @@ void GTARenderer::renderWorld()
|
||||
LoaderIPLInstance &obj = inst.instance;
|
||||
|
||||
if(((inst.object->flags & LoaderIDE::OBJS_t::NIGHTONLY) | (inst.object->flags & LoaderIDE::OBJS_t::DAYONLY)) != 0) {
|
||||
continue;
|
||||
//continue;
|
||||
}
|
||||
|
||||
if(!inst.model)
|
||||
|
Loading…
Reference in New Issue
Block a user