mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-11-04 06:32:00 +00:00 
			
		
		
		
	Fix death planes (#735)
* Correct death plane size The death plane file size is not in units but is actually in 4x2 tiles. * Make it a bit bigger for now * Enjoy your crust "These things add flavor they said" Move the position of the death barrier down 13.521004 units so we effectively only extend its hitbox in the -Y direction as opposed to the +Y direction, resolving an issue in Battle of Nimbus Station where the death plane was too tall
This commit is contained in:
		@@ -162,6 +162,8 @@ PhantomPhysicsComponent::PhantomPhysicsComponent(Entity* parent) : Component(par
 | 
			
		||||
 | 
			
		||||
			dpWorld::Instance().AddEntity(m_dpEntity);
 | 
			
		||||
		} else if (info->physicsAsset == "miscellaneous\\misc_phys_640x640.hkx") {
 | 
			
		||||
			// Move this down by 13.521004 units so it is still effectively at the same height as before
 | 
			
		||||
			m_Position = m_Position - NiPoint3::UNIT_Y * 13.521004f;
 | 
			
		||||
			// TODO Fix physics simulation to do simulation at high velocities due to bullet through paper problem...
 | 
			
		||||
			m_dpEntity = new dpEntity(m_Parent->GetObjectID(), 1638.4f, 13.521004f * 2.0f, 1638.4f);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user