i am testing NewtonCreateHeightFieldCollision

it al works so var, getting some good results
the only thing is everything is turned bij 90 degrees and it starts on 0,0,0

so my question is how do i tilt it by 90 (ore -90) degrees end moving the whole thing about its x,y,z axes for placement

i realy cant turn the whole game en staying on the same pos because i want 2 terains (ore even more)

i use Newton wrapper from Vet

home some one can help me

thx flits

Code:
int width = 64;
	int height = 64;
	int gridsD = 0;
	
	NewtonCollision* collision;
	
	unsigned short *elevations = (unsigned short*) malloc (width * height * sizeof (unsigned short));
	char *attibutes = (char*) malloc (width * width * sizeof (char));
//	memset (attibutes, 0, width * height * sizeof (char));
		
	for(i=0; i < ent_vertices(my); i++)
	{
		vec_for_mesh(temp,my,i);
		elevations[i] = temp[2] * QUANTTOMETER;
		attibutes[i] = 0;
	}
	
	collision = NewtonCreateHeightFieldCollision(nworld,width,height,gridsD,elevations,attibutes,(float) 2,(float) 2,(float) 0);
	
	NewtonBody* body = NewtonCreateBody(nworld, collision);
	
	float m[16]; ent_getmatrix_rb(my, m);
	NewtonBodySetMatrix(body, m);
	
	my.skill99 = body; // save body pointer with entity
	NewtonBodySetUserData(body, my);
	
	NewtonReleaseCollision(nworld, collision);
	
	free(elevations);
	free(attibutes);




"empty"