more guesswork
This commit is contained in:
parent
c8d537be29
commit
161de351d8
|
|
@ -91,16 +91,16 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
const center = {
|
const center = {
|
||||||
x: window.innerWidth / 5,
|
x: window.innerWidth / 2,
|
||||||
y: window.innerHeight / 5,
|
y: window.innerHeight / 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
Gizmos.clear();
|
Gizmos.clear();
|
||||||
Gizmos.vector(
|
Gizmos.vector(
|
||||||
center,
|
center,
|
||||||
{
|
{
|
||||||
x: center.x + gravity.x,
|
x: center.x + gravity.x / 2,
|
||||||
y: center.y + gravity.y,
|
y: center.y + gravity.y / 2,
|
||||||
},
|
},
|
||||||
{ color: 'grey', width: 3, size: 15 },
|
{ color: 'grey', width: 3, size: 15 },
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue