u/Croissant761

Does anyone else want a really quick anti-ship missile (short range)?

Currently the best anti-ship missile is probably the AGM68, and whilst its good you can't carry many of them on the FS20 or multirole aircraft, so ships are tricky to deal with, the AGM99 is more of a long range missile and is quite slow, so I prepose that a short range (maybe 20 km) high penetration, maybe 250kg explosive missile gets added, with the whole purpose of speeding to the target, no care for evasive manoeuvres, kind of like a huge kingpin, with the acceleration of something like the AIR2 genie.

reddit.com
u/Croissant761 — 20 hours ago

Im new to coding and trying to create a multi-coloured grid, so far I have two sections of code
Tile
using UnityEngine;

public class Tile : MonoBehaviour

{

[SerializeField] private Color baseColor, offsetColor;

[SerializeField] private SpriteRenderer renderer;

public void Init(bool isOffset)

{

renderer.color = isOffset ? offsetColor : baseColor;

}

}

Grid manager
using UnityEngine;

public class GridManager : MonoBehaviour

{

[SerializeField] private int width;

[SerializeField] private int height;

[SerializeField] private GameObject tilePrefab;

[SerializeField] private Transform cam;

void Start()

{

GenerateGrid();

}

void GenerateGrid()

{

for (int x = 0; x < width; x++)

{

for (int y = 0; y < height; y++)

{

GameObject spawnedTile = Instantiate(

tilePrefab,

new Vector3(x, y),

Quaternion.identity,

transform

);

spawnedTile.name = $"Tile {x} {y}";

var isOffset = (x % 2 == 0 && y % 2 != 0) || (x % 2 != 0 && y %2 == 0);

spawnedTile.Init(isOffset);

}

}

cam.transform.position = new Vector3((float)width / 2 - 0.5f, (float)height / 2 - 0.5f, -10);

}

}

I have an error that states: "Game Object does not contain a definition for 'Init' and no accessible extension method 'Init' accepting a first argument of type 'GameObject' could be found

reddit.com
u/Croissant761 — 8 days ago

Say we had a really efficient rocket, that could go to the asteroid belt, could we tow a large asteroid to a large gravity well like jupiter, then attach the asteroid to a tether that can extract the energy from it falling, drop it into jupiter, extract the energy. Then just leave the asteroid on jupiter. Wouldn't you get the kinetic energy, and as you never entered jupiter with the mass, wouldn't you get more energy that you lost? (assuming you could tow and get to the asteroid without using more energy than you gained)

reddit.com
u/Croissant761 — 9 days ago

Im new and want to scale up the wings i've designed, but the scale button completely ruins the shape of the wings, how do I make the wings bigger without doing anything else to them

reddit.com
u/Croissant761 — 18 days ago