misc
This commit is contained in:
+1
-1
Submodule assets updated: 10a611659d...022890f8f5
@@ -2941,11 +2941,6 @@
|
|||||||
<Children>
|
<Children>
|
||||||
<Entity>
|
<Entity>
|
||||||
<Components>
|
<Components>
|
||||||
<c:FloatingEffect>
|
|
||||||
<Axis X="0" Y="0.200000003" Z="0"/>
|
|
||||||
<Time>3368.5217764001222</Time>
|
|
||||||
<Period>2</Period>
|
|
||||||
</c:FloatingEffect>
|
|
||||||
<c:Transform>
|
<c:Transform>
|
||||||
<Position X="0" Y="0.199529812" Z="0"/>
|
<Position X="0" Y="0.199529812" Z="0"/>
|
||||||
</c:Transform>
|
</c:Transform>
|
||||||
@@ -3072,11 +3067,6 @@
|
|||||||
<Children>
|
<Children>
|
||||||
<Entity>
|
<Entity>
|
||||||
<Components>
|
<Components>
|
||||||
<c:FloatingEffect>
|
|
||||||
<Axis X="0" Y="0.200000003" Z="0"/>
|
|
||||||
<Time>3257.3077853363998</Time>
|
|
||||||
<Period>2</Period>
|
|
||||||
</c:FloatingEffect>
|
|
||||||
<c:Transform>
|
<c:Transform>
|
||||||
<Position X="-0" Y="-0.164693162" Z="-0"/>
|
<Position X="-0" Y="-0.164693162" Z="-0"/>
|
||||||
</c:Transform>
|
</c:Transform>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -19,9 +19,6 @@ void DamageIndicatorSystem::Update(double dt) {
|
|||||||
updateDamageIndicatorVector.erase(iter);
|
updateDamageIndicatorVector.erase(iter);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!EntityWrapper(m_World,m_World->GetParent(LocalPlayer.ID)).Valid()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
auto angleBetweenVectors = CalculateAngle(LocalPlayer, iter->enemyPosition);
|
auto angleBetweenVectors = CalculateAngle(LocalPlayer, iter->enemyPosition);
|
||||||
//simply set the rotation z-wise to the angleBetweenVectors
|
//simply set the rotation z-wise to the angleBetweenVectors
|
||||||
iter->spriteEntity["Transform"]["Orientation"] = glm::vec3(0, 0, angleBetweenVectors);
|
iter->spriteEntity["Transform"]["Orientation"] = glm::vec3(0, 0, angleBetweenVectors);
|
||||||
|
|||||||
Reference in New Issue
Block a user