Here is my code to add a plane in unity but the problem is the octopus jpg seems like not to work.
Unity using a plane to make a roof.
Leave a gap so you can still see into the room and to create an interesting light effect.
Returns a signed distance from plane to point.
Is a point on the positive side of the plane.
Unity using a plane to make a roof.
Sets a plane using three points that lie within it.
Position it so it s below the walls.
My plane gameobject createprimitive primitivetype plane.
The problem is i am unable to place image on it it shows me grid that i made before.
Don t completely cover the room though.
Change the object name to door.
Intersects a ray with the plane.
February 10 2020amirul muncategorized.
Move it into position using front view and then move it against the wall of the house in side view.
Scale the plane down by 7 and then again by 5 along the x axis.
I also added a plane as a floor.
Create a plane rotating it to face forward as necessary r x 9key 0key enter to align it with the front wall of the house.
I have made a grid using multiple planes.
Makes the plane face in the opposite direction.
Adding a triangular roof object and rotating that to the proper orientation is performed using the same procedure but now both objects are aligned to the same base plane.
To create a roof make another cube and place it above the walls.
Are two points on the same side of the plane.